First the tool works out your basal metabolic rate (BMR): the calories your body uses at complete rest, just to keep you alive. It uses the Mifflin-St Jeor equation, which studies have found to be the most reliable for most adults.
Your BMR is then multiplied by an activity factor, from 1.2 for little exercise to 1.9 for very hard training. The result is your total daily energy expenditure (TDEE), the calories you burn on an average day, also called maintenance calories.
To lose or gain weight, the tool takes away or adds calories based on about 7,700 calories per kilogram of body fat. Losing 0.5 kg a week needs about 550 fewer calories a day. The table shows every goal at once, in calories and kilojoules.
Check it by hand: for a man the BMR is 10 × weight in kg + 6.25 × height in cm − 5 × age + 5. For 75 kg, 175 cm and 30 years that is 750 + 1,093.75 − 150 + 5 = 1,698.75, shown rounded as 1,700. With light exercise multiply by 1.375 to get 2,335.8, shown as 2,340 kcal. To lose 0.5 kg a week you need a daily gap of 0.5 × 7,700 ÷ 7 = 550 kcal, so the target would be about 1,790 kcal.