Beyond 3999, Roman numerals involve multiplication.
For example, 4000 is IV M. The IV represents 4, M represents 1000, so it's 4 * 1000.
5000 is V M.
6000 is VI M.
Notice the space between the multiplier and the 1000s digit, which means M M would be 1,000 * 1,000, or 1,000,000. II M M, by this ruleset would be 2 * 1000 * 1000 = 2,000,000.
Note 2: In cases where spaces are hard to notice, multipliers often have a solid bar above them, such as:
__
IV = 4 multiplier
_
V = 5 multiplier
__
IVM = 4000
__
IVMI = 4001.. Ect..