The most accurate way will be to measure it with the rider on and th tires inflated. 25.4 is by definition accurate so use whatever ruler/tape you have. If you can then find a measured mile or radar to check it would be interisting to know how that worked. Most calculators I've seen have Pi to a silly number of places so just use one if you decide to calculate the diameter as well as measure it.
HTH
Joe