Roman Numeral Converter
Convert any number (1–3999) to Roman numerals, or translate a Roman numeral back to a number — instantly.
Enter your values and click Calculate
How It Works
To convert a number to Roman numerals, the algorithm works from the largest value (M = 1000) down to the smallest (I = 1). At each step it subtracts the largest possible value and appends the corresponding symbol, repeating until nothing remains. For example, 1994: subtract 1000 (M), then 900 (CM), then 90 (XC), then 4 (IV), yielding MCMXCIV. The subtractive pairs — IV, IX, XL, XC, CD, CM — exist to avoid four consecutive identical symbols and make numbers more readable. To convert Roman numerals back to a number, each character is mapped to its value. If a character's value is less than the next character's value, it is subtracted; otherwise it is added. For example, XIV: X(10) + I(1 < V, so subtract) + V(5) = 10 − 1 + 5 = 14. The converter validates results by round-tripping: the input Roman numeral must exactly match what the converter produces for that number, which catches non-standard or malformed strings like IIX.