What is an image file size?
Every digital photo is a grid of tiny coloured dots called pixels. Your camera or phone decides how many dots fit in each row and column — a 4000×3000 photo holds 12 million of them, which is where the word “megapixel” comes from.
Each dot has to be stored somewhere, so more dots means more bytes. The file format matters too: JPG squeezes similar colours together to save space, while PNG keeps every dot exactly as it is — which is why the same picture can weigh 200 KB in one format and 2 MB in another.
When a site talks about “file size”, it simply means this storage weight, usually shown in kilobytes (KB) or megabytes (MB).