There isn’t enough detail in your question to answer it accurately so here’s a guess:
{Pay Rate} * DATETIME_DIFF(TODAY(), {Date Field}, 'years')
This assumes that the pay rate is an annual figure, which is why it is being multiplied by the number of years since some start date and “today”. Change “years” to “months” or “weeks” or whatever if that’s more appropriate.