Roman Numeral Validator and Notation Checker
Validation trims spaces, uppercases Latin letters, rejects unknown characters, tests the canonical pattern, decodes the string, and re-encodes the value. The input is accepted only when the re-encoding matches.
Roman Numeral Validator
Modern mode accepts only canonical strings from I through MMMCMXCIX. Historical reference mode adds the documented clock-face form IIII and does not claim to certify every inscription ever cut.
Six subtractive pairs
I may precede V or X. X may precede L or C. C may precede D or M. V, L, and D are never subtractive prefixes in this standard.
- IV is 4 and VI is 6.
- IX is 9 and XI is 11.
- XL is 40 and LX is 60.
- XC is 90 and CX is 110.
- CD is 400 and DC is 600.
- CM is 900 and MC is 1100.