Counting Vacation Accrued

I have the employee dashboard all set up with start date at the company, amount of days worked, etc

I am trying to think of a formula that would let me know how many days off a person is entitled to. For example, adding 23 days for every 365 days worked; or 2,5 days for every 30 days worked.

I really just cannot think of a way to make it work