Wheel size?

#1
Okay im ordering the parts for my mini bike and the rear tire is still having trouble with air, so i decided to buy a tube if needed. the tire is 12 in diameter (from ground to top of tire) so does that mean i need a 6 inch tube? Its 6 inches from the ground to axle bolt. I just am not sure how they measure wheels and tires.
 
Top