The accuracy of cannons varied depending on factors such as the quality of the gunpowder, the barrel's smoothness, and the skill of the gunners. Generally, cannons were more effective at short to medium ranges.