The only way to calculate maintenance calories is by trial and error. There are far too many variables to do it accurately any other way. Use the formulas and whatnot to give you a guide baseline and then monitor and adjust. You'll know it's maintenance for your current activity levels when your weight is flat. Knowing that 500cals per day equals 1lb in bodyweight per week you can make small adjustments to work out your maintenance calories.