The calculator uses the Mifflin-St. Jeor equation, with the appropriate activity multipliers included, to punch out your total daily energy expenditure.
From there, you choose your goal which add/subtract some calories to/from your daily intake to ensure you eat enough fuel to support muscle growth and lean weight gain.