The imperial and US customary measurement systems are both derived from an earlier English system of measurement which in turn can be traced back to Ancient Roman units of measurement, and Carolingian and Saxon units of measure.
The US Customary system of units was developed and used in the United States after the American Revolution, based on a subset of the English units used in the Thirteen Colonies. It is the predominant system of units in the United States and its territories, except for Puerto Rico and Guam, where the metric system was introduced under Spanish rule and remains prevalent. The imperial system of units was developed and used in the United Kingdom and its empire beginning in 1824. The metric system has, to varying degrees, replaced the imperial system in the countries that once used it.