The number 40951 (forty thousand nine hundred fifty-one) is written in Roman numerals as follows: XLCMLI