When a smaller numeral appears before a larger one, it's subtracted. For example, in 'IV' (which is 4), 'I' (1) is subtracted from 'V' (5).