Conversion guide
How to Convert Numbers Into Roman Numerals: A Complete Guide
A Roman numeral converter is useful only when it implements a real algorithm. Numeral Archive converts every integer from 1 through 3999 by walking a fixed list of value-symbol pairs, not by looking up a handful of famous years. This guide explains that method and walks through 49, 944, 1987, and 3999.
The seven fundamental symbols
Canonical writing uses I = 1, V = 5, X = 10, L = 50, C = 100, D = 500, and M = 1000. Placement changes meaning: VI is 6 and IV is 4. Adding every letter independently misreads subtractive pairs.
Additive and subtractive notation
Descending symbols are added: VIII is 8 and LXXIII is 73. Canonical notation allows six subtractive pairs only: IV, IX, XL, XC, CD, and CM. IC is not a pair, so 99 is XCIX. IL is not a pair, so 49 is XLIX.
Decimal place values
Split an integer into thousands, hundreds, tens, and units, convert each place, then concatenate. 2026 is 2000 + 20 + 6 = MM + XX + VI = MMXXVI. Zero places contribute nothing.
The greedy algorithm
Validate a positive integer, start with an empty string, and iterate the thirteen pairs. While the remainder is at least the pair value, append the token and subtract. Stop at remainder zero. For 944 the steps are CM, XL, IV, leaving CMXLIV.
Hundreds and thousands
Hundreds: C, CC, CCC, CD, D, DC, DCC, DCCC, CM. 444 is CDXLIV. Thousands in the standard range are M, MM, or MMM. 1999 is MCMXCIX. 2026 is MMXXVI. 3999 is MMMCMXCIX.
Worked examples
49 = XL + IX = XLIX. 944 = CM + XL + IV = CMXLIV. 1987 = M + CM + LXXX + VII = MCMLXXXVII. 3999 = MMM + CM + XC + IX = MMMCMXCIX, the largest standard canonical value here. Zero, negatives, fractions, and integers above 3999 are rejected in standard mode.
Using the converter
Open the Roman numeral converter, enter an integer or a letter string, and convert. Valid input updates live. Invalid input clears a stale result. The same engine powers the chart, practice laboratory, validator, and calculator.
Article questions
- Does the converter use a lookup table of common years?
- No. It uses the thirteen greedy pairs for every integer from 1 through 3999.
- Why is 49 not IL?
- IL is not one of the six subtractive pairs. 49 is XLIX.
- What is the labelled homepage example?
- 2026 converts to MMXXVI. It is an example, not a stored visitor result.
Verified conversions include 1 = I, 4 = IV, 9 = IX, 14 = XIV, 19 = XIX, 24 = XXIV, 29 = XXIX, 39 = XXXIX, 40 = XL, 44 = XLIV, 49 = XLIX, and 50 = L.
Further verified values: 58 = LVIII, 69 = LXIX, 89 = LXXXIX, 90 = XC, 94 = XCIV, 99 = XCIX, 100 = C, 149 = CXLIX, 399 = CCCXCIX, 400 = CD, 444 = CDXLIV.
Large standard values: 500 = D, 900 = CM, 944 = CMXLIV, 999 = CMXCIX, 1000 = M, 1987 = MCMLXXXVII, 1999 = MCMXCIX, 2024 = MMXXIV, 2026 = MMXXVI, 3999 = MMMCMXCIX.
The greedy steps for 944 are 900 = CM with remainder 44, then 40 = XL with remainder 4, then 4 = IV with remainder 0. Token values 900 + 40 + 4 sum to 944.
The greedy steps for 1987 are 1000 = M, 900 = CM, 50 = L three times as LXXX, and 5 + 1 + 1 as VII, concatenating to MCMLXXXVII.
Unsupported canonical strings include IIII, VV, IL, IC, XM, VX, IIV, IIX, IXIX, MMMM, ABC, and 123. The validator names the structural problem instead of inventing a value.
Recognized additive alternatives, kept outside strict mode, include IIII = 4, VIIII = 9, XXXX = 40, LXXXX = 90, CCCC = 400, and DCCCC = 900, still in descending place-value order.
Extended plain-text examples: 4000 = (IV), 5000 = (V), 12000 = (XII), 12500 = (XII)D, 1000000 = (M), 3999999 = (MMMCMXCIX)CMXCIX. Nested parentheses are rejected.
Leap-year checks used by the date tool: 1900 is not a leap year, 2000 is, 2028 is, and 2100 is not. January 1 of year 1 is valid. Year zero is invalid.
July 4, 2026 is VII.IV.MMXXVI in month-first order, IV.VII.MMXXVI in day-first order, and MMXXVI.VII.IV in year-first order. Reverse conversion never guesses which order you meant.
Clock-hand angles on the reference face are measured clockwise from twelve. The hour hand is 30 times the hour modulo 12, plus half a degree per minute, plus the seconds divided by 120. The minute hand is 6 times the minute plus 0.1 times the seconds. The second hand is 6 times the seconds.
Practice difficulty ranges are beginner 1–20, foundation 1–100, intermediate 1–500, advanced 1–1000, and expert 1–3999. Session lengths are 5, 10, 20, or 30 questions. Optional seeds make a session reproducible. Duplicates are avoided with a bounded retry when the pool allows it.
If ten questions are presented, eight answered, six correct, two incorrect, and two skipped, accuracy is 75 percent because skips are excluded from that denominator. Completion is 60 percent because it uses all ten questions. Those figures describe the current session only.