Skip to content

Roman Numeral Converter

Mode

Whole numbers from 1 to 3999.

Result —
Letters used
—

Split the number into thousands, hundreds, tens and ones, then write each part with its letters: M = 1000, CM = 900, XC = 90, IV = 4. So 1994 becomes MCMXCIV. Going the other way, add each letter's value but subtract one that sits before a larger letter: XL = 50 − 10 = 40.

About this tool

Roman numerals still turn up on clock faces, film credits, book chapters, Super Bowl logos, cornerstones and tattoos of birth dates. This converter works both ways. Type a whole number and it writes the standard numeral, with a table of which symbols were used and how many times. Switch to Roman to number and type letters such as MCMLXXXV to get 1985, with the running total after each letter so you can see where a smaller letter was subtracted. The reader is strict: it accepts only the standard form, so IIII or IC are flagged and the correct spelling (IV, XCIX) is suggested. The limit is 3999 (MMMCMXCIX); larger values need an overline bar that multiplies by 1000, and the Romans had no zero, negative numbers or fractions in this system.

How to use it

  1. Pick a direction

    Choose Number to Roman to write a numeral, or Roman to number to read one.

  2. Type the value

    Enter a whole number from 1 to 3999, or a numeral in capital or small letters with no spaces.

  3. Read the breakdown

    The table lists each symbol, its worth and how many times it appears; the steps show the adding and subtracting.

Examples

The year 1994

Mode
Number to Roman
Number
1994

Result Result: MCMXCIV
Letters used: 7

  1. 1000 = M
  2. 900 = CM
  3. 90 = XC
  4. 4 = IV
  5. 1994 = MCMXCIV

1994 splits into 1000 + 900 + 90 + 4, written M, CM, XC and IV, giving MCMXCIV.

XL back to a number

Mode
Roman to number
Roman numeral
xl

Result Result: 40
Letters used: 2

  1. X (10) is before a larger letter, so subtract: running total -10
  2. L (50) add: running total 40
  3. XL = 40

X is worth 10 and sits before the larger L (50), so it is subtracted: 50 − 10 = 40.

How it is calculated

N = sum of letter values, where a letter placed before a larger one counts as negative (I = 1, V = 5, X = 10, L = 50, C = 100, D = 500, M = 1000)

To write a numeral the tool takes the largest value from the list M 1000, CM 900, D 500, CD 400, C 100, XC 90, L 50, XL 40, X 10, IX 9, V 5, IV 4, I 1 that still fits, writes it, subtracts it and repeats. This greedy pass always gives the standard form. Only six subtractive pairs are allowed: IV, IX, XL, XC, CD and CM. To read a numeral it scans left to right, adding each letter unless the next letter is larger, in which case it subtracts. It then writes the total back out and compares; if the spelling differs, the input was not standard (for example VV, IL or MCMC) and the tool shows the correct form.

Sources

Use from code or an AI agent Free API · MCP

The same calculation is a free JSON API. No key needed. The answer is in result.stats.primary.

curl -X POST https://api.tools-directory.workers.dev/v1/tools/roman-numeral-converter \
  -H 'Content-Type: application/json' \
  -d '{"inputs":{"mode":"to_roman","number":1994}}'

When not to use it

  • Numbers above 3999 need the overline (vinculum) notation, which this converter does not write.
  • It cannot express zero, negative values or decimal fractions.

Common mistakes

  • Writing IIII for 4; the standard form is IV, although many clock faces use IIII.
  • Subtracting across too wide a gap, as in IC for 99; the correct numeral is XCIX.
  • Converting a full date as one number instead of writing the day, month and year separately.

Frequently asked questions

How do I write a date in Roman numerals?

Convert the day, month and year one at a time and join them with dots or dashes. For 14 July 1998 that is XIV · VII · MCMXCVIII. Run each part through Number to Roman; the order (day first or month first) follows your local habit, so US dates usually put the month first.

How do I convert my date of birth to Roman numerals for a tattoo?

Write each part of the birth date separately. A birthday of 3 March 1990 becomes III.III.MCMXC. Check the year carefully before inking: 1990 is MCMXC, not MXM, and 1999 is MCMXCIX, not MIM. Ask the artist which separator to use, since dots, dashes and spaces are all common.

How do I convert Roman numerals to numbers?

Add the value of each letter from left to right, but subtract any letter that stands before a larger one. MCMLXXXV reads M 1000, CM 900, L 50, XXX 30, V 5, which totals 1985. Choose Roman to number above to see the running total after every letter.

What is XL as a decimal number?

XL is 40. X is worth 10 and comes before the larger L (50), so it is subtracted: 50 − 10 = 40. Likewise XC is 90 and CD is 400.

What is the decimal to Roman numeral algorithm?

Keep a list of the thirteen values 1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4 and 1 with their symbols. Starting with the largest, append the symbol while the number is at least that value and subtract it each time. The loop ends at zero and always gives the standard numeral; it is the same in Python, JavaScript or a spreadsheet formula.

How do I convert a Roman numeral to decimal in Excel?

Excel has two built-in functions. =ROMAN(1994) returns MCMXCIV, and =ARABIC("MCMXCIV") returns 1994. ARABIC appeared in Excel 2013; ROMAN also takes an optional second argument for shorter, less standard forms, so leave it out to match this converter.

Can Roman numerals show a decimal point?

No. The standard system has no decimal point or zero. The Romans wrote fractions in twelfths with a separate set of signs (S for one half and dots for twelfths), which are not part of modern usage, so this converter accepts whole numbers only.

Cite this tool

Using this tool in an assignment, article or report? Copy a citation, or a link for your website.

APA

Tools Directory Editorial Team. (2026, December 3). Roman Numeral Converter. Tools Directory. Retrieved December 4, 2026, from https://directory.milunir.com/math-calculators/number-tools/roman-numeral-converter/

MLA

Tools Directory Editorial Team. “Roman Numeral Converter.” Tools Directory, 3 Dec. 2026, https://directory.milunir.com/math-calculators/number-tools/roman-numeral-converter/. Accessed 4 Dec. 2026.

Chicago

Tools Directory Editorial Team. “Roman Numeral Converter.” Tools Directory. Last modified December 3, 2026. Accessed December 4, 2026. https://directory.milunir.com/math-calculators/number-tools/roman-numeral-converter/.

Link<a href="https://directory.milunir.com/math-calculators/number-tools/roman-numeral-converter/">Roman Numeral Converter – Tools Directory</a>