Year-to-date paystub calculator
Add one payment to the year-to-date totals you have already checked, and see where the figures agree and where they do not.
This calculator adds a current payment to your year-to-date totals in exact cents. It does not validate, approve, or certify a record.
Fill in the fields to see a result.
The generator can start a W-2 record with the record type and your prior year-to-date gross. This payment's gross is not carried over, because a W-2 record is built from an hourly rate and hours. The handover stays in this tab and is deleted once the generator reads it.
How the figures are worked out
Each of the four totals is carried on its own: your prior year-to-date figure plus the same figure from the payment you are adding. Nothing is derived from anything else, so the calculator never produces a number you did not enter.
Money is handled as whole cents from the first keystroke to the last figure on screen. Amounts are read digit by digit into cents rather than converted through a decimal, and a carry that could not be represented exactly is refused instead of rounded.
Two checks run alongside the arithmetic. Each column is compared against itself — gross against taxes plus other deductions plus net — and the new year-to-date total has the current payment subtracted back out and compared with the prior figure you entered. Either check can report a difference without stopping the calculation.
What this tool leaves out
- It covers one calendar year. Year-to-date normally restarts at zero for the first payment dated in a new year, and this version does not combine figures from two tax years.
- It adds the figures you give it. It does not calculate tax, check a withholding rate, or work out what any total should have been.
- A reported difference means two figures you entered do not agree with each other. It says nothing about whether a record is complete or whether anyone will accept it.
- Taxes and other deductions are each entered as one combined figure, so the calculator cannot show a line-by-line breakdown.
- Amounts are in US dollars, and the record type is used only to prefill the generator.
Sources
Sources last reviewed Aug 17, 2026.
- IRS — General Instructions for Forms W-2 and W-3Wages are reported for the calendar year in which they were paid, which is where the year-to-date reset comes from.
- IRS — Publication 15 (Circular E), Employer's Tax GuideEmployer withholding and reporting run on a calendar-year basis.
- IRS — Publication 505, Tax Withholding and Estimated TaxBackground on how withholding accumulates across a year. This calculator estimates no tax of its own.
Common questions
What does YTD mean on a paystub?
Year-to-date is the running total of what has been paid and withheld since the start of the calendar year, up to and including the payment you are looking at. Each figure on a payment record carries its own year-to-date total.
How do I calculate year-to-date pay?
Add the current payment to the year-to-date total from the payment before it, one figure at a time: gross to gross, taxes to taxes, deductions to deductions, net to net. That is what this calculator does, in whole cents.
When does year-to-date start over?
Year-to-date normally starts over for the first payment dated in a new calendar year, because wages are reported for the year in which they were paid. This calculator works within one year and does not combine two tax years.
My gross does not equal taxes plus deductions plus net. What now?
The calculator shows the exact difference in cents and still carries your totals forward. Review this difference and compare it with the previous record, invoice, deposit, or ledger the figures came from.
Does this check whether my paystub is correct?
No. It adds the figures you enter and points out where they disagree with each other. It does not validate, approve, or certify a record, and it cannot tell you whether anyone will accept one.