BMR formula
The bmr formula used by default is Mifflin-St Jeor. For men: 10 × kg + 6.25 × cm − 5 × age + 5. For women: 10 × kg + 6.25 × cm − 5 × age − 161.
The revised Harris-Benedict equation is an alternate basal metabolic rate. Katch-McArdle uses lean body mass: 370 + 21.6 × kg × (1 − body fat percentage). It needs a body fat percentage, so it is not more accurate for everyone.
A most accurate calorie calculator is still an estimate. Multiply the basal result by an activity factor from 1.2 to 1.9 for total daily energy expenditure, then compare it with a week of stable weight. Run the numbers on the bmr calculator.