There are two common methods: calories per 100g (good for comparing foods) and calories by actual portion (better for real intake). This chart uses per-100g values, and portion calories are a simple multiplication.
For example: rice at 116 kcal/100g means 150g is about 174 kcal; chicken breast at 133 kcal/100g means 120g is about 160 kcal; broccoli at 34 kcal/100g means 200g is about 68 kcal.
When eating out and weight is unknown, estimate using bowl size, palm size, or fist size, then add oil and sauces separately. If this feels tedious, snap a photo and let AI estimate visible portions.