Answer:
It depends on the motor. The Space Shuttle's 4-segment motor burns for 124 seconds, for instance. The Atlas V's solid rocket motors burn for 90 seconds. A common size B4 model rocket motor burns for 1 second.
it depends on the size of the rocket, the grain material, and the oxidizer to tell you how long one will burn.