File size calculator

File size calculator

Work out the size of an image, a sound file or a block of text, one conversion at a time. This tool needs JavaScript, so turn it on to use it. Everything you need to answer the exam question is explained in the text above.

The three formulas

WhatFormulaWatch out for
Imagewidth x height x colour depthThe answer is in bits, and metadata is extra
Soundsample rate x bit depth x seconds x channelsStereo doubles it, and minutes must become seconds
Textnumber of characters x bits per characterSpaces and punctuation are characters too
Bits and bytes

A lower case b means bits and an upper case B means bytes. Every one of these formulas gives you bits, so dividing by eight is always the first conversion.