gives the integer corresponding to the Roman numeral "string".


  • Numerals can be specified with either upper- or lowercase characters.


open allclose all

Basic Examples  (2)

Convert a Roman numeral into a decimal integer:

Convert a list of Roman numerals into respective decimal integers:

Scope  (3)

Roman numerals can be given in upper case, in lower case, or a mixture of both:

The numeral "N" represents the integer 0:

FromRomanNumeral threads automatically over lists of numerals:

Properties & Relations  (2)

RomanNumeral converts a decimal integer into its Roman numeral form:

FromRomanNumeral["string"] is equivalent to FromDigits["string","Roman"]:

Possible Issues  (1)

FromRomanNumeral can interpret nonstandard forms of Roman numerals:

In fact, any combination of valid digits is interpreted as an integer:

To check whether a given roman numeral is written in canonical form, compare to the output of RomanNumeral:

Wolfram Research (2015), FromRomanNumeral, Wolfram Language function,


Wolfram Research (2015), FromRomanNumeral, Wolfram Language function,


Wolfram Language. 2015. "FromRomanNumeral." Wolfram Language & System Documentation Center. Wolfram Research.


Wolfram Language. (2015). FromRomanNumeral. Wolfram Language & System Documentation Center. Retrieved from


@misc{reference.wolfram_2024_fromromannumeral, author="Wolfram Research", title="{FromRomanNumeral}", year="2015", howpublished="\url{}", note=[Accessed: 17-June-2024 ]}


@online{reference.wolfram_2024_fromromannumeral, organization={Wolfram Research}, title={FromRomanNumeral}, year={2015}, url={}, note=[Accessed: 17-June-2024 ]}