Sorry.
The auto flash (called ETTL for Canon) measures the correct flash exposure by firing a small preflash and measuring the light falling on the shutter curtain. The camera calculates the amount of light that the flash needs to output based on that measurement and sends the instruction to the flash.
Like all auto metering, it can be fooled by brighter or darker than 'average' subjects. Some people say its easy to manage the auto mode to get a correct exposure (using FEC available from a button on your top plate), others say that if you have to manipulate the auto mode to get a correct exposure, you might as well do all the hard work yourself and
know that you're doing it right, which takes us to Manual!
Manual flash is controlled either by adjusting the actual flash output (which, once set is a constant but you can set the flash power as a fraction), or by altering the amount of flash hitting the sensor (by altering the aperture) or by altering the amount of light the camera needs (by changing the ISO).
Manual flash output can be calculated, by using the guide number of the flashgun. There are tables online, or you could use a calculator and the inverse square law. The problem with the calculation though is photographic

.
People like me will tell you never to use on camera flash straight on to the subject, because the light is ugly:thumbsdown:. So you need to bounce the flash, or get it off camera and use a modifier (umbrella or soft box). Calculating flash power through a modifier might lose a stop of power(ish), but calculating flash distance when bouncing off a ceiling becomes guesswork when you can't physically measure the distance and then you still need to lose maybe a stop for the lack of reflectivity of the ceiling itself.
That sounds very complicated, because it is! So we're probably better just measuring the light than calculating it

. To measure the flash falling on your subject, you can either buy a flash meter or use the cameras review screen and histogram.
It sounds fiddly, but once you know that a head and shoulders portrait (55mm) at a standard room height is f5.6 iso 200 flash on quarter power for correct exposure, then you can step back a bit to get 3 people in and go to f5 etc. or zoom out and keep the same distance and settings.
Sorry if that's still complicated but it'll fall into place once you start using it (honest). And if you get panicked, just switch to ETTL

.