Roman numerals use seven letters: I = 1, V = 5, X = 10, L = 50, C = 100, D = 500 and M = 1,000. Numbers are built by adding letters from largest to smallest, so 2026 is MM (2,000) + XX (20) + VI (6) = MMXXVI.
Six pairs use subtraction: IV = 4, IX = 9, XL = 40, XC = 90, CD = 400 and CM = 900. A smaller letter placed before a larger one is taken away from it. Only I, X and C can be subtracted, and only from the next two bigger letters.
To read a numeral, the tool adds each letter and subtracts it when a larger letter follows. It then writes the number back in standard form. If that is different from what you typed (IIII instead of IV, or VX), it tells you the standard form and still gives the value it read.
The standard system has no zero and stops at 3,999 (MMMCMXCIX) because it has no letter above M. For larger numbers, medieval and modern writers put a bar over a letter to multiply it by 1,000. The larger-number option does this for the thousands part, up to 3,999,999.
Check it by hand: take the number in parts. 2,026 is 2,000 + 20 + 6. The 2,000 is MM, the 20 is XX and the 6 is VI. Together that is MMXXVI. The tool shows the same split, MM = 2000, XX = 20, VI = 6, with 6 letters in all.