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

Roman Numerals Calculator — Roman and Decimal

Convert whole numbers from 1 to 3,999 into Roman numerals, or decode a Roman numeral back to a number, with strict checks for non-standard forms.

Roman Numerals Calculator

Conversion
Uses canonical I, V, X, L, C, D and M notation from I through MMMCMXCIX.
Roman numeral
MMXXVI
The number in standard Roman notation, in capital letters: built from your number in one direction, or your letters normalised to uppercase in the other.
Decimal value
2,026
Roman characters
6

Background.

MCMLXXXIV at the end of a film's credits is the year 1984, and you can read it in four bites: M is 1,000, CM is 900, LXXX is 80 and IV is 4. Two rules are all you need. Letters normally add, largest first, so LXXX is 50 + 10 + 10 + 10. A smaller letter placed directly in front of a larger one is taken away instead, so CM is 1,000 − 100 and IV is 5 − 1.

Roman numerals stopped being anyone's working number system centuries ago, yet they turn up constantly: hour marks on clock faces, the II in Elizabeth II and the XIV in Louis XIV, the Super Bowl's LX, chapter and volume numbers, the act and scene of a play, the i, ii, iii of a book's preface pages, the I, II, III of an outline, and the founding year carved over a doorway. Most of the time the job is either to write a number that way for a design, a tattoo or a document heading, or to read one you have come across.

The converter does both, for whole numbers from 1 to 3,999. Give it a number and it builds the standard modern form; give it letters and it returns the value, provided the letters are written the standard way. That last condition is deliberate. A lenient reader would happily total IC as 99, but anyone checking a numeral for an engraving wants to be told that 99 is written XCIX, so non-standard strings are refused rather than guessed at.

The ceiling is 3,999, MMMCMXCIX, because the standard form allows a letter to repeat at most three times and has no letter above M. Larger values were written with extra marks, such as a bar over a numeral to multiply it by a thousand, which ordinary keyboards and fonts don't handle consistently.

What is roman numerals calculator?

Roman numerals write whole numbers with seven letters: I (1), V (5), X (10), L (50), C (100), D (500) and M (1,000). The system is not positional. There is no zero and no columns; a letter's value never changes, only whether it is added or subtracted. In the standard modern form, letters run from largest to smallest and add up, except for six subtractive pairs: IV (4), IX (9), XL (40), XC (90), CD (400) and CM (900). Only I, X and C ever subtract, and each only from the next two letters up. V, L and D never repeat and never subtract, and I, X, C and M appear at most three times in a row. In practice this means a letter that is larger than the one before it always marks a pair, which is the cue to subtract when reading. Those rules give every number from 1 to 3,999 exactly one correct spelling, which is the spelling this converter produces and accepts.

How to use this calculator.

  1. Choose the direction under Conversion: decimal to Roman numeral, or Roman numeral to decimal.
  2. To write a number in Roman numerals, type a whole number from 1 to 3,999 in the Decimal integer field. Fractions, zero and negative numbers have no standard Roman form and are not accepted.
  3. To read a numeral, type it in the Roman numeral field using the letters I, V, X, L, C, D and M. Lowercase is fine and spaces at either end are ignored, but spaces between letters, the special Unicode numeral characters (such as Ⅳ) and overlines are not.
  4. Leave something in the field you are not using. It is ignored for the conversion, but it can't be blank, and the decimal field must hold a whole number from 1 to 3,999 even when you are decoding letters.
  5. Use the character count when sizing letters for an engraving, a plaque or a tattoo: MMXXVI needs six letter spaces, MCMLXXXIV nine, and a year from the 1880s can need thirteen.
  6. If a numeral is refused, rewrite it with the standard subtractive pairs: IIII becomes IV, IC becomes XCIX, MIM becomes MCMXCIX. When you are transcribing an old inscription or a clock face, record the original spelling as it is and use the converter only to check the value.

The formula.

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

Writing a number in Roman numerals works from a list of thirteen building blocks in descending order: M (1,000), CM (900), D (500), CD (400), C (100), XC (90), L (50), XL (40), X (10), IX (9), V (5), IV (4) and I (1). Starting from the top, take the largest block that still fits into what remains, write it down, subtract its value, and repeat until nothing is left. Because the subtractive pairs sit in the list between the letters they are made from, 900 comes out as CM rather than DCCCC, and 4 as IV rather than IIII.

An equivalent way to see it is digit by digit. Each decimal digit converts on its own, using the letters for its place: units use I, V and X; tens use X, L and C; hundreds use C, D and M; thousands use M alone. The nine patterns are the same at every level, so 3 is III, 30 is XXX and 300 is CCC, while 9 is IX, 90 is XC and 900 is CM. Writing "one", "five" and "ten" for the three letters of a place, the patterns for 1 to 9 are: one; one one; one one one; one five; five; five one; five one one; five one one one; one ten. Fill in I, V, X for units and the same shapes give the tens as X, L, C and the hundreds as C, D, M. That is why 3,449 is simply MMM + CD + XL + IX, MMMCDXLIX, with no carrying between places.

Reading a numeral runs left to right. Each letter is added unless the letter after it is larger, in which case it is subtracted. That arithmetic on its own would give a total to strings no careful writer would use: IC comes to 99, IIII to 4 and VX to 5. So the decoded total is converted back into Roman form, and the input is accepted only if it matches that standard spelling letter for letter. The character count is simply the number of letters in the result. Across the whole range it runs from 1, for the seven numbers that are a single letter, to 15 for 3,888.

A worked example.

Example

To write 2026, work down the list of blocks. M (1,000) fits twice: 2,026 − 1,000 − 1,000 = 26, giving MM. CM, D, CD, C, XC, L and XL are all bigger than 26, so none is used. X fits twice, leaving 26 − 20 = 6 and adding XX. IX is too big; V fits once, leaving 1; IV is too big; I fits once, leaving 0. Reading the blocks off in order gives MMXXVI, six characters, and decoding it again is pure addition because no letter is smaller than the one after it: 1,000 + 1,000 + 10 + 10 + 5 + 1 = 2,026. Decoding needs the subtraction rule when pairs are present. In MCMLXXXIV, M adds 1,000; C is smaller than the following M, so it subtracts 100; that M adds 1,000; L adds 50; the three Xs add 30; I is smaller than the following V, so it subtracts 1; V adds 5. The running total is 1,000 − 100 + 1,000 + 50 + 30 − 1 + 5 = 1,984, and since 1,984 written out again is MCMLXXXIV, the string is accepted.

modedecimalToRoman
decimal Value2,026
roman ValueMMXXVI

Frequently asked questions.

How do I read a long Roman numeral quickly?
Split it into thousands, hundreds, tens and units, cutting wherever the letters drop to a smaller place. MDCCLXXVI breaks into M | DCC | LXX | VI, which is 1,000 + 700 + 70 + 6 = 1,776. A subtractive pair always belongs to one place, so CM is the hundreds and XC the tens: MCMXCIX is M | CM | XC | IX, or 1,999.
Why is 99 written XCIX and not IC?
In the standard form a letter can only be subtracted from the next two letters up: I from V and X, X from L and C, C from D and M. I in front of C skips two steps, so 99 has to be built as 90 plus 9, XC plus IX. For the same reason 49 is XLIX, not IL, and 1,999 is MCMXCIX, not MIM. V, L and D never subtract at all, so VX for 5 and LC for 50 are refused too.
Why do so many clock faces show IIII instead of IV?
It is a long-standing dial-making convention rather than a mistake, and Roman-era inscriptions themselves mix additive forms like IIII and VIIII with subtractive ones. The converter applies the modern standard and so refuses IIII, but if you are describing or restoring a clock that uses it, keep IIII; the dial's own spelling is the correct record.
Is there a Roman numeral for zero?
No. The system has no zero digit and no need for one, since letters carry their own value and there are no empty columns to mark. Some early medieval Easter tables wrote the word nulla, meaning none, or its initial N where we would put 0, but that never became part of the numerals, and the converter starts at 1.
How were numbers above 3,999 written?
With additional marks. A bar drawn over a numeral (a vinculum) multiplies it by 1,000, so V with a bar is 5,000 and X with a bar is 10,000, and some writers simply repeated M four or more times. These forms vary between sources and don't survive plain text reliably, so the converter stops at MMMCMXCIX, 3,999.
What is the longest Roman numeral below 4,000?
3,888, written MMMDCCCLXXXVIII, at 15 letters, because every place uses its longest pattern: three Ms, DCCC, LXXX and VIII. At the other end seven numbers need a single letter: 1, 5, 10, 50, 100, 500 and 1,000. Most numbers in the range fall in between, at seven or eight characters. Length has little to do with size: 2,000 is MM, two letters, while 1,999 needs seven.
How do I write a date such as 27 October 2026 in Roman numerals?
Convert each part separately: 27 is XXVII, the tenth month is X and 2026 is MMXXVI, giving XXVII · X · MMXXVI. Dots, hyphens or slashes between the parts are a matter of style; what matters is the order. Day-month-year and month-day-year read differently, so decide which convention the reader expects before it is engraved or tattooed.
Why do kings, popes and the Super Bowl use Roman numerals?
Mostly tradition and the sense of formality the letters carry. Regnal numbers count rulers of the same name, as in Henry VIII or Pope Benedict XVI. The Super Bowl numbers its games the same way, so Super Bowl LX is the 60th. The NFL made one exception, calling the 50th game Super Bowl 50 rather than Super Bowl L.
Are lowercase Roman numerals correct?
Yes, and they have their own uses: book publishers number preface and front-matter pages i, ii, iii, iv, and outlines and legal documents use them for sub-levels. The value is the same as in capitals, and the converter accepts lowercase and returns capitals. Older manuscripts and prescriptions often wrote a final i as j, as in iij for 3; replace the j with i before decoding.
Did the Romans actually calculate with these numerals?
Not in the way we do with written digits. Without place value, adding or multiplying letter strings on paper is awkward, so calculation was done with counters on a counting board or abacus, and the numerals recorded the result. Fractions were handled separately, in twelfths, with S standing for a half.

How this page was produced

Published by
Quanta Calculator
Primary sources
5 cited below
Method
value = Σ(add symbol unless it is smaller than the next symbol)
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

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