How is federal income tax calculated using marginal tax brackets?

Federal income tax is calculated using a marginal tax system, meaning different portions of taxable income are taxed at increasing rates. Each dollar falls into a specific tax bracket, with only the income within that bracket being subject to its corresponding tax rate. This results in an effective tax rate lower than the highest marginal rate.