A budget surplus occurs when the government's total revenues exceed its total expenditures during a given fiscal period. This means the government is collecting more in taxes and other sources of revenue than it is spending on public services, programs, and other obligations.