Maths & numbers

Roman numeral and integer converter

Convert whole numbers from 1 to 3999 to Roman numerals and validate canonical Roman notation.

Your settings

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Generate result.

Report an issue

Try it, understand it

Explore the result

Inspect a subtractive number and convert it back.

Worked example comparison
ExampleOutputWhat to notice
1994 to RomanRoman numeralMCMXCIVM + CM + XC + IV gives MCMXCIV.
Read the numeralInteger1,994The reverse direction gives 1994.
Upper supported boundaryRoman numeralMMMCMXCIX3999 uses MMMCMXCIX without overbars.

Check your understanding

Why is IC rejected for 99?

The accepted canonical form is XCIX; I cannot be subtracted directly from C in this grammar.

Can this convert a year such as 2026?

Yes. Values within the supported integer range use the same notation rules.

Behind the tool

How this tool works

Integer mode subtracts the largest permitted Roman value until the number is represented. Reverse mode accepts lowercase or uppercase input, but requires conventional subtractive notation: IV rather than IIII, IX rather than VIIII and XC rather than LXXXX. The supported range uses no overbars or historical extended forms.

THE OUTPUT RULEUse M CM D CD C XC L XL X IX V IV I in descending subtractive order

A worked example

1994 = 1000 + 900 + 90 + 4, so the result is M + CM + XC + IV = MCMXCIV. Entering mcmxciv in reverse mode returns 1994.

Good to know

No zero, negative numbers, fractions or values above 3,999. Historical inscriptions and clock-face IIII are outside this converter’s deliberately canonical grammar.

Subtractive pairs make the notation unambiguous

Canonical Roman numerals combine repeated symbols with a small set of subtractive pairs. Four is IV, nine is IX and forty is XL. The converter uses these pairs consistently, so 1994 becomes MCMXCIV rather than a longer additive spelling. Reverse conversion accepts lowercase input but validates the same grammar.

The supported range stops at 3,999. Extending the system with overbars or other historical conventions would require a different interpretation and display. The integer exponent calculator works on numerical values after conversion; Roman notation itself is a representation rather than a separate arithmetic system.

Historical forms need their own context

A clock face may use IIII, and historical inscriptions may use forms outside the modern subtractive convention. Rejecting such a string here means it falls outside this tool’s declared grammar; it is not a claim that the form never existed. This distinction matters when transcribing an artifact rather than formatting a number.

Zero, negative values and fractions do not have representations in the bounded scheme used here. Enter an ordinary whole number from one through 3,999 in integer mode. In reverse mode, do not add spaces between symbols or mix in visually similar Unicode numeral characters.

A few questions, answered

Why is IC rejected for 99?

The accepted canonical form is XCIX; I cannot be subtracted directly from C in this grammar.

Can this convert a year such as 2026?

Yes. Values within the supported integer range use the same notation rules.

Find your calculator

Start typing to explore the library.