Example: A Tax Formula That Uses a Table

This topic walks you through an example of creating a federal tax formula in Sage 50 that uses the Table function. You can enter table data (such as Federal Income Tax wage/rate tables) using the Table button on the User-Maintained Payroll Formula window. Then, you can use the Table data you've entered in formulas that calculate tax amounts.

While the rates and syntax used may be accurate at the time this was written, they will change. If you choose to create your own tax formulas, then you must research www.irs.gov or other sites/publications to make sure you have up-to-date rates and limits. This example is intended to show: a) how to use some of the functions and formulas in Sage 50's payroll area; but more importantly, b) a method to use for creating tax formulas.

(missing or bad snippet)

In this example, we are creating a Federal Income Tax (FIT) for the 2003 tax year for Single taxpayers. The exact functions and syntax used here will not work in all cases for other types of taxes (or even for FIT Single in subsequent years).

  1. The first step is to find the current instructions and rates for the tax you are creating. As an employer, you should receive a copy of IRS Publication 15-T containing all the federal withholding tables. If you do not receive this publication, it is available in pdf format on www.irs.gov.
  2. Read the section about the tax you're creating.
  3. Enter the table rates from Publication 15-T. They should look something like this when you're done.

Now we have to create the formula that will use this table data to calculate the tax.

Tip: To set up these variables, you have to know a little about the commands and syntax Sage 50 uses. Look up formulas, tax table formulas in the Sage 50 Help index. You can also get an idea of how to set up your formulas by opening one of the sample companies and looking at the formulas used there (under File, Payroll Formulas, User Maintained). Note that these, too, are just examples or starting places; it's up to you to verify their accuracy. But they should give you some ideas.

We know that we want to use the information we entered in the table and the information we enter throughout the payroll year for the employee to compute the FIT amount. We also know we'll have to factor in federal allowances and any additional withholding. (These amounts are stored in the Maintain Employee record, on the Withholding Info tab.)

As stated in the Tip above, the best place to start would be to view a formula used in the sample company Bellwether. We'll look at the formula there for FIT Single (at the time this was written) and explain each segment of the formula.

ANSWER = -PRORATE (TABLE (ANNUAL (ADJUSTED_GROSS) - (EMP_FEDERAL_ALLOWANCES * 2450))) - EMP_FEDERAL_EXTRA

Withhold Value+((result-Gross more than)*Plus%/100)

3,637.50+((50,000-26,900)*28/100)

3,637.50+(23,100*.28)

3,637.50+6,468

10,105.50 = the TABLE value

What do you want to do next?

Learn more about payroll formulas

See an example of a formula that doesn't use a table