The cubic inch is a unit of volume derived from the imperial unit system and uses the symbol in³.
1 cubic inch is defined as equal to the volume of a cube with edges measuring 1 in. It is equivalent in volume to 16.387 ml, 1/231 US gallons and 1/1728 ft³.
Common uses for cubic inches include quantifying the size of electrical boxes and in the automotive industry for measuring engine displacement. The 5th generation Ford Mustang ran on a Boss 302 which was a 302 in³ engine (5.0L).
The gallon is a unit of volume in the imperial unit system with the symbol gal.
1 British imperial gallon is defined as 4.54609 litres or 277.4194 in³.
The term gallon derives directly from the Old Northern French term 'galun' which means 'liquid measure'. The origin of the word prior to this is still unknown. It originated as the base of the system for measuring wine and beer in the UK and has now been adopted across the world and there are similar versions in the US and associated states (although they measure slightly differently).