Those formulas are not appropriate in most cases.
Here is one quick search result, that goes down the Max HR rabbit hole:
Essentially, HR is HIGHLY individual and using formulas is not ideal. It’s likely best to perform a test (as covered in that topic and others) or looking at data from appropriate workouts or high efforts in the recent history.