Number System

Leading Zero

Students place a hollow wooden ring before a row of solid tiles.

Leading Zero definition

A leading zero is a zero written to the left of the first nonzero digit in the whole-number part of a numeral.

In Spanish
cero inicial
Topic
Numeral systems and bases

Leading Zero in a picture

Leading Zero diagramThe decimal numeral 007 and 7 have the same value, while their written widths differ.Written: 007Two zeros are before the first nonzero digitValue: 0 × 100 + 0 × 10 + 7The two leading zeros contribute zeroValue: 7The numeral still has a three-character format
The decimal numeral 007 and 7 have the same value, while their written widths differ.

How it works

For ordinary numerical value, leading zeros contribute nothing. They can matter to a format that requires a fixed width, such as a code or a binary register. A zero inside a numeral serves a different purpose by holding a place.

Worked examples

What value does decimal 0042 represent?

42.

What is the unsigned binary value of 00101₂?

101₂ = 5 in decimal.

May the zero in 105 be removed without changing the value?

No. It is inside the numeral, and removing it produces 15.

Common mistake

Keep leading zeros when the format needs them. Remove only zeros on the left when simplifying the usual representation of a whole number.

Quick check

Does 0009 have the same decimal value as 9?

Show answer

Yes.

Is the zero in 90 a leading zero?

Why might a form retain the zeros in 007?

Show answer

Its code may require exactly three characters.

Sources

Flashcard

Leading Zero

Reveal the definition

A leading zero is a zero written to the left of the first nonzero digit in the whole-number part of a numeral.

Effortless Math. “Leading Zero.” Math Dictionary.