Audited ·Last updated 31 Jul 2026·5 citations·Tier 1·0 uses

Roman Numerals Calculator — Roman and Decimal

Convert integers from 1 to 3999 into canonical Roman numerals or parse a Roman numeral back to decimal with strict notation validation.

Roman Numerals Calculator

Conversion
Uses canonical I, V, X, L, C, D and M notation from I through MMMCMXCIX.
Roman numeral
MMXXVI
Decimal value
2,026
Roman characters
6

Background.

Roman numerals represent whole numbers with letters rather than place-value digits. In the modern convention used for outlines, monuments, clock faces, book front matter and event names, I is 1, V is 5, X is 10, L is 50, C is 100, D is 500 and M is 1,000. Most symbols add from left to right, while a smaller symbol immediately before a permitted larger one creates a subtractive pair such as IV for 4 or CM for 900.

This calculator converts in both directions over the conventional plain-text range from 1 through 3,999. Enter a decimal integer to build its canonical Roman form, or enter a Roman numeral to recover the decimal value. Lowercase input is normalised to uppercase, but the order must already be canonical. The tool rejects a malformed string rather than silently guessing what its author meant.

Six subtractive pairs cover the standard exceptions: IV and IX, XL and XC, CD and CM. They prevent four repeated powers-of-ten and keep the notation compact. Thus 49 is XLIX, not IL and not XXXXIX; 944 is CMXLIV. Five-based symbols V, L and D are not repeated in canonical modern form, and a power-of-ten symbol normally repeats no more than three times.

Decimal conversion uses an ordered token table. Starting with the largest token, subtract it while it still fits and append its symbol. Because CM appears before D and C, 900 becomes CM; because IV appears before I, 4 becomes IV. The process ends exactly at zero for every supported integer.

Reverse conversion compares neighbouring symbols. A symbol smaller than the one immediately after it is subtracted; otherwise it is added. That arithmetic alone is too permissive: it would assign a number to strings such as IL or VX even though they are not canonical. The calculator therefore converts the parsed total back into Roman notation and requires an exact match. This round-trip rule validates both ordering and repetition without a separate list of fragile text patterns.

The upper limit is explicit. Ancient and later writers used several ways to express larger values, including overlines that multiply by one thousand, enclosing marks, and repeated M symbols. Plain keyboards and fonts do not encode those conventions consistently. Rather than choose one and call it universal, this page stops at MMMCMXCIX, or 3,999. It also excludes zero, negative numbers and fractions because classical Roman notation has no single standard form for them.

Roman numeral Unicode characters such as Ⅳ exist, but Unicode treats many of them as compatibility forms. Ordinary Latin letters are easier to type, search and exchange, so the input expects I, V, X, L, C, D and M. Copying a special numeral glyph into the field will be rejected rather than confused with a letter sequence.

Historical practice was less uniform than the word “invalid” can suggest. Additive IIII appears in inscriptions and remains a deliberate convention on many clock dials. This calculator's strict result describes a modern canonical conversion, not a claim that every historical object followed it. If transcribing an artifact, preserve the artifact's spelling instead of normalising it with a calculator.

All numeric work, including token subtraction and reverse accumulation, uses Decimal.js. The resulting decimal value and character count cross the output boundary through ten-decimal rounding once, although both remain exact integers. A test round-trips every supported value, so no token gap can hide between the familiar examples.

What is roman numerals calculator?

A Roman numeral is an additive and partly subtractive notation built from I, V, X, L, C, D and M. It is not a positional base system: the place of a symbol affects whether it adds or subtracts, but there is no zero digit or fixed column value. This page uses the compact modern convention for positive integers 1–3999.

How to use this calculator.

  1. Choose decimal-to-Roman or Roman-to-decimal mode.
  2. Enter a whole number from 1 through 3999, or a letter sequence using I, V, X, L, C, D and M.
  3. Read both representations and the Roman character count.
  4. If an input is rejected, rewrite it with canonical subtractive pairs rather than relying on a historical variant.
  5. Preserve original spelling when cataloguing an inscription or clock face; the calculator normalises modern notation.

The formula.

value = Σ(add symbol unless it is smaller than the next symbol)

Encoding repeatedly removes the largest token that does not exceed the remainder, using the ordered list M, CM, D, CD, C, XC, L, XL, X, IX, V, IV and I. Decoding subtracts a symbol only when the following symbol is larger, then re-encodes the total to prove the original string was canonical.

For 2026, remove M twice, X twice, V once and I once: MMXXVI. Reverse addition gives 1000 + 1000 + 10 + 10 + 5 + 1 = 2026. Decimal.js performs the numeric operations and outputs are rounded only at the final boundary.

A worked example.

Example

For 2026, take two thousands to write MM, two tens to write XX, five to write V, and one to write I. The canonical result is MMXXVI, six characters. Parsing that string adds the same values and returns 2026.

modedecimalToRoman
decimal Value2,026
roman ValueMMXXVI

Frequently asked questions.

What is 2026 in Roman numerals?
2026 is MMXXVI: MM is 2000, XX is 20, V is 5 and I is 1.
What are the Roman numeral symbols?
I=1, V=5, X=10, L=50, C=100, D=500 and M=1000.
Why is 49 written XLIX instead of IL?
Canonical modern notation permits subtraction only through the standard pairs. Forty is XL and nine is IX, so 49 is XLIX.
Can Roman numerals represent zero?
Not in the classical system used here. Later writers sometimes used N for nulla, but it is not part of this calculator's canonical range.
Why does the calculator stop at 3999?
Larger values require an extension such as overlines or enclosing marks, and those conventions are not represented consistently in plain text.
Is IIII always wrong?
It is noncanonical for this converter, but it appears historically and on many clocks. Preserve it when transcribing the object that uses it.
Can I type lowercase Roman numerals?
Yes. Lowercase Latin letters are trimmed and converted to uppercase before validation.
Why are special characters such as Ⅳ rejected?
The page uses ordinary Latin-letter sequences for reliable typing and interchange. Unicode numeral glyphs are compatibility characters and are outside this input grammar.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 977 calculators remain free
  • No billing is enabled
Coming soon