One minute is the common standard: long enough to be a fair measurement, short enough to repeat. Start typing and the clock begins.
A free typing speed test that scores you honestly: errors stay counted even after you fix them. Measure words per minute, accuracy and consistency in 15 seconds to 5 minutes. No account, nothing uploaded.