Drive belts are made to standard profiles and lengths. If you have an old belt it should have markings to show the profile (a letter) and the length. Length can be inside or outside, measured in inches or millimetres.
Companies who sell belts generally publish guides on their websites. Quite a few eg Bearing Boys also sell bearings.