Income taxes in the United States are imposed by the federal, most states, and many local governments. The income taxes are determined by applying a tax rate, which may increase as income increases, to taxable income, which is the total income less allowable deductions. Income is broadly defined. Individuals and corporations are directly taxable, and estates and trusts may be taxable on undistributed income. Partnerships are not taxed, but their partners are taxed on their shares of partnership income. Residents and citizens are taxed on worldwide income, while nonresidents are taxed only on income within the jurisdiction. Several types of credits reduce tax, and some types of credits may exceed tax before credits. An alternative tax applies at the federal and some state levels.