Drop a dowel down the bore with the bolt forward. Make a mark on the dowel at the muzzle.
IIRC, that's the official way.
Shotgun also has to be 26" overall.
This post not to be construed as legal advice.
What about if you have a rotating bolt, like a Benelli Nova? That skews the measurement.
General Manager of AMS - American Mountain Supply
We proudly manufacture firearm, hunting, and outdoor goods in Longmont Colorado USA.
Specializing in soft rifle cases and nylon holsters. www.americanmountainsupply.com