Many cannons list 2 rates (or a range of rate) of fire in the specs. For example take this tier 10 German cannon:
When installed on a tank the actual rate of fire is shown:
What determines the actual rate of fire?
Edit: Too clarify: I'm looking for the reason that influences the rate of fire shown for the gun when installed on a tank, not of the rate of fire calculation in a battle.