Final Exam
Class project • No database • Runs entirely in the browser

Final Exam Payroll Calculator

Enter one hourly employee’s information and pay details. The calculator uses overtime at 1.5× for hours over 40, and estimates federal taxes using Social Security (6.2%), Medicare (1.45%), and a simplified income tax table.

Payroll Inputs

Overtime is automatically applied above 40 hours.

Project Rules
  • Single employee, hourly only.
  • Overtime: 1.5× for hours over 40.
  • Federal payroll taxes only (no benefits deductions).
  • Uses a simplified income tax table for classroom use.
Tax assumptions
Social Security6.2%
Medicare1.45%

Income tax table

  • $0–$250: 0%
  • $250.01–$750: 10%
  • $750.01–$1500: 12%
  • $1500.01–$3000: 22%
  • $3000.01+: 24%

Dependents reduce taxable wages by $50 each (not below $0).