How accrual is calculated
The yearly days are divided by the number of pay periods in a year. Each period worked adds that share to the balance; days already taken are subtracted. For example, 15 days paid every two weeks is about 0.58 day per pay period.
Check it against your policy
Employers do not all accrue the same way. Some give the whole year on January 1, some accrue by month or by hour worked, and some cap the balance. Your policy, and the law where you work, decide; use this figure as an estimate and compare it with your pay stub or HR system.
What the tool leaves out
It does not handle carry-over from last year, unpaid leave that pauses accrual, a change in entitlement during the year, or rounding rules. Ask HR for the official balance.