Roman numeral

As a Roman numeral, the number four is written as IV. The rules of Roman numerals state that if a smaller numeral is placed before a larger one, then the smaller one is subtracted from the larger one. As I is 1, and V is 5, so IV is 5 - 1, which is 4.