Representation Errors and Precision
Aligned to the AQA 7517 specification
- Level
- Intermediate
- Reading time
- 6 min
- Published
- 13 June 2026
- Updated
- 1 July 2026
On this page
Key takeaways
- Not every real number can be represented exactly in a finite number of bits; 0.1 in decimal = 0.0001(1001 repeating) in binary, so it must be rounded, and rounding errors accumulate over repeated calculations.
- Absolute error is |true value - stored value|, while relative error is the absolute error divided by the true value, so the same absolute error has a much larger relative impact for small numbers.
- For a fixed bit count, precision and range trade off: more mantissa bits give finer precision and more exponent bits give larger range; floating point keeps roughly constant relative error and fixed point keeps constant absolute error.
- Overflow occurs when a result's magnitude is too large to represent, and in unsigned binary the carry out of the MSB is lost so the result wraps around silently, e.g. 8-bit 200 + 100 gives 44.
- Underflow occurs when a floating-point result is too small in magnitude to represent and rounds to zero, commonly when two very small numbers are multiplied; a small but representable non-zero number is not underflow.
Want more lessons like this one?
Generate lessons on anything you study. Free account, no card needed.
Key terms
- Rounding error
- The error introduced when a value that cannot be stored exactly is rounded to the nearest representable value.
- Repeating binary fraction
- A binary fraction whose digits recur without terminating, such as 0.1 in decimal = 0.0001(1001 repeating) in binary, so it cannot be stored exactly in finite bits.
- Absolute error
- The magnitude of the difference between the true value and the stored approximation, |true value - stored value|.
- Relative error
- The error expressed as a proportion of the true value: absolute error divided by the magnitude of the true value.
- Precision
- The smallest difference between two representable values, i.e. how finely spaced the representable numbers are.
- Range
- The span from the most negative to the most positive representable value.
- Fixed point
- A representation with constant absolute precision and a range limited by integer bits, best for values within a known, bounded range such as finance.
- Floating point
- A representation with variable absolute precision but large range controlled by the exponent, best for values spanning many orders of magnitude.
- Overflow
- A condition where a calculation produces a result whose magnitude is too large to represent in the available bits, causing the result to wrap around or the exponent to exceed its maximum.
- Underflow
- A condition where a floating-point result is too small in magnitude to represent and rounds to zero, with the exponent dropping below its minimum.
Frequently asked questions
Converting 0.1 to binary gives 0.0001(1001 repeating), a repeating binary fraction similar to 1/3 = 0.333... in decimal. No finite number of bits can represent it exactly, so any floating-point or fixed-point system must approximate it, and the resulting rounding errors accumulate over repeated calculations.
Absolute error is the magnitude of the difference between the true and stored values, |true value - stored value|, and has the same units as the value. Relative error is the absolute error divided by the true value, making it a dimensionless ratio or percentage. The same absolute error has a much larger relative impact for small numbers.
Overflow happens when a result's magnitude is too large to represent in the available bits; in unsigned binary the MSB carry is lost and the result wraps around silently. Underflow happens when a floating-point result is too small in magnitude to represent, so it rounds to zero, commonly when two very small numbers are multiplied.
Generate revision on any topic you study
Type any topic you're studying and Aicademy generates a complete lesson, quiz, and flashcard set, personalised to your level.
Lessons on anything
Structured, level-matched lessons on any topic you study
Practice quizzes
Find out what you actually know before the exam does
Flashcard sets
Lock in key concepts with instant revision cards
Ask Aica
Stuck on something? Get a clear explanation, any time
Floating Point Numbers
Character Encoding and Error Detection
Related lessons
6 min
5 min