How to calculate PTO accrual per pay period in Excel

This is not legal or payroll advice. The Department of Labor’s vacation-leave page says the Fair Labor Standards Act does not require payment for time not worked, including vacations and holidays. The hours below are a sample policy. A handbook, a state rule, or a contract can use a different clock.

The workbook that keeps a running PTO balance is the PTO tracker. On November 16, 2026, Jordan has 49.00 hours left and Avery has 25.33. The running balance for these two people is How to track PTO accruals in Excel. The hire date in the first column is the one in How to calculate years of service in Excel: March 3, 2019, measured on November 16, 2026.

Hours per paycheck

The sample grants 10 days a year until five completed years, then 15 days. A day on this sheet is 8 hours, so the grants are 80 hours and 120 hours. The pay calendar is semi-monthly, 24 paychecks.

DATEDIF counts completed years. Jordan, hired March 3, 2019, has 7 on November 16, 2026. Avery, hired March 16, 2026, has 0. The same span for Avery is 245 days, which is not a completed year.

DATEDIF
=B5/B6
=B5/B6B7
Two hire dates, one as-of date
ABC
1JordanAvery
2Hired3/3/20193/16/2026
3As of11/16/202611/16/2026
4Years70
5Annual hours12080
6Pay periods2424
7Per paycheck53.333333
A picture of a sample policy, not a handbook. Jordan was hired March 3, 2019. Avery was hired March 16, 2026. Both are measured on November 16, 2026. Five completed years moves the grant from 80 hours to 120. Dividing by 24 pay periods is 5.00 and 3.333333….
=DATEDIF(DATE(2019,3,3), DATE(2026,11,16), "Y")
=DATEDIF(DATE(2026,3,16), DATE(2026,11,16), "Y")
=IF(7>=5, 120, 80)
=120/24
=80/24

Those results are 7, 0, 120, 5, and 3.333333…. Jordan’s paycheck accrues 5.00 hours. Avery’s accrues 3.333333… hours. A two-decimal format shows Avery as 3.33. Twenty-four times 3.33 is 79.92, which is 0.08 hours short of the 80-hour grant. Twenty-four times the stored fraction is 80. Keep the division in the cell and format it. Do not type 3.33 back in as the rate.

DATEDIF is in current Excel, and it is missing from the function picker. Type it. The unit "Y" is complete years. "M" would be complete months, which is the wrong test for a policy written in years.

Twenty-six biweekly checks, and the year that has twenty-seven

The same 120 hours spread over 26 biweekly paychecks is a repeating fraction.

DATEDIF
=B2/B3
=B2/B3B4
The same 120 hours, 26 paychecks
AB
1Value
2Annual hours120
3Pay periods26
4Per paycheck4.615385
A picture of the biweekly rate. 120 divided by 26 is 4.615384615…. A two-decimal format shows 4.62. Twenty-six times the stored value is 120. Twenty-six times 4.62 is 120.12.
=120/26
=26*(120/26)
=26*4.62

120 / 26 is 4.615384615…. The picture rounds that display to six decimals, 4.615385. A two-decimal hours format shows 4.62. Twenty-six times the stored value is 120. Twenty-six times 4.62 is 120.12. The extra 0.12 hours is the rounding, not a richer policy.

Some calendar years contain 27 biweekly paydays. Dividing 120 by 26 and then paying it 27 times accrues 27 × (120/26) = 124.615384… hours, which is 4.615384… hours over the annual grant. Divide by the number of pay dates in that year when the count is 27:

=120/27

That is 4.444444…. The 26 in the sample is the ordinary year. It is an input, next to the annual hours.

A 90-day wait

Avery’s accrual on this sample starts when 90 days have been completed. Hired Monday, March 16, 2026, the 90th day is Sunday, June 14, 2026.

=DATEDIF(DATE(2026,3,16), DATE(2026,6,14), "D")
=DATEDIF(DATE(2026,3,16), DATE(2026,6,13), "D")
=DATEDIF(DATE(2026,3,16), DATE(2026,6,14), "D")>=90

Those results are 90, 89, and TRUE. June 13 is still short of the wait. Use "D" for this count. The "MD" unit has month-end cases that do not belong in a day count. DAYS of June 14 minus March 16 is the same 90.

A first paycheck that is not a full period

The July 1 through July 15, 2026 pay period has a holiday in it. July 4, 2026 is a Saturday. OPM’s 2026 holiday schedule lists the Independence Day off as Friday, July 3. xl.us.holiday returns the legal date, not that Friday:

=xl.us.holiday(2026, "Independence")

That is July 4. The name needs Microsoft 365, Excel 2024, or Excel for the web. Excel 2021 returns #NAME?. The workday count below uses July 3, the day the office is closed. A list that contains only July 4 does not remove Friday, because Friday is not July 4.

NETWORKDAYS.INTL counts both ends when they are workdays. The weekend string "0000011" is Saturday and Sunday, Monday through Sunday, with 1 meaning a day off.

NETWORKDAYS.INTL
=B8*B7/B5
=B8*B7/B5B9
First paycheck, July 2026
AB
1Value
2Period start7/1/2026
3Period end7/15/2026
4Holiday7/3/2026
5Full period10
6First day7/8/2026
7Days worked6
8Full accrual5
9This paycheck3
A picture of July 1 through July 15, 2026. Saturday and Sunday are off. Friday, July 3 is the holiday. The full period has 10 working days. Someone who starts Wednesday, July 8 works 6 of them. Five hours times 6/10 is 3.
=NETWORKDAYS.INTL(DATE(2026,7,1), DATE(2026,7,15), "0000011", DATE(2026,7,3))
=NETWORKDAYS.INTL(DATE(2026,7,8), DATE(2026,7,15), "0000011", DATE(2026,7,3))
=5*6/10

The full period is 10 working days. July 1, 2, 6, 7, 8, 9, 10, 13, 14, and 15. July 3 is the holiday, and July 4 and 5 are the weekend. A person who starts Wednesday, July 8 works July 8, 9, 10, 13, 14, and 15. That is 6. Five hours times 6/10 is 3 hours on that paycheck.

NETWORKDAYS.INTL needs Excel 2010 or later. The holiday argument is the fourth one. A holiday range passed in the third position is read as a weekend code, and the count goes wrong. The string in the third position is what keeps July’s Saturdays and Sundays out.


Template for this article

PTO Tracker

More from the blog