Metrication Browser Add-On Test Page


Lengths / Distance / Speed

Inches

Test ValueOriginal Test ValueTarget ValueResult
3 x 5 x 2 inches3 x 5 x 2 i​nches76.2 x 127 x 50.8 millimetres
3 x 5 x 2 in3 x 5 x 2 i​n76.2 x 127 x 50.8 mm
3 × 5 × 2 in3 × 5 × 2 i​n76.2 × 127 × 50.8 mm
3" x 5" x 2"3​" x 5​" x 2​"76.2 mm x 12.7 cm x 50.8 mm
The dimensions were 3 ²⁹⁄₃₂" x 5" x 2".The dimensions were 3 ²⁹⁄₃₂​" x 5​" x 2​".The dimensions were 99.2 mm x 12.7 cm x 50.8 mm.
The dimensions were 3 ⅓" x 5" x 2".The dimensions were 3 ⅓​" x 5​" x 2​".The dimensions were 84.7 mm x 12.7 cm x 50.8 mm.
I used 9 inch nails in the roof.I used 9 i​nch nails in the roof.I used 22.86 centimetre nails in the roof.
The nail was 1 inch in length.The nail was 1 i​nch in length.The nail was 25.4 millimetres in length.
We were walking in water 5 inches deep.We were walking in water 5 i​nches deep.We were walking in water 12.7 centimetres deep.
There are 12 inches in 1 foot.There are 12 i​nches in 1 f​oot.There are 30.48 centimetres in 30.48 centimetres.
5.5 inches5.5 i​nches13.97 centimetres
5.5"5.5​"13.97 cm
5.5”5.5​”13.97 cm
5 1/2 inches5 1/2 i​nches13.97 centimetres
5 1/2"5 1/2​"13.97 cm
5 ½ inches5 ½ i​nches13.97 centimetres
5½ inches5½ i​nches13.97 centimetres
5 ½"5 ½​"13.97 cm
5 ½ in5 ½ i​n13.97 cm
5 ½ in.5 ½ i​n.13.97 cm.
Version 2.5 installedVersion 2.5 i​nstalledVersion 2.5 installed
38 involved38 i​nvolved38 i​nvolved
-⅘ inches-⅘ i​nches-20.3 millimetres
+⅘ inches+⅘ i​nches20.3 millimetres
10 inches10 i​nches25.4 centimetres
10 Inches10 I​nches25.4 Centimetres
10 INCHES10 I​NCHES25.4 CENTIMETRES
1/4-inch to 3/4-inch1/4-i​nch to 3/4-i​nch6.4-millimetres to 19-millimetres
¼"¼​"6.4 mm
In 1981 there were 4. In 1989 there were 7.I​n 1981 there were 4. I​n 1989 there were 7.I​n 1981 there were 4. I​n 1989 there were 7.
She said "I prefer number 50".False positive expected.She said "I prefer number 1.3 m.
I saw 12 inchworms yesterday.I saw 12​ in​chworms yesterday. (Test false positive.)I saw 12​ i​nchworms yesterday.
13 inch.13​ i​nch.33.02 centimetre.
in March 2018, in the wakein March 2018, i​n the wake (Test false positive)in March 2018, i​n the wake
“as early as 2021,”“as early as 2021​,​” (Test false positive)“as early as 2021​,​”
25 5/8x59 "25 5/​8​x​5​9 ​" (This is on an Ikea page)0.65 mx1.5 m
25 5/8 x 59 inches25 5/​8 x 5​9 i​nches0.65 x 1.5 metres
between 10 and 11 inchesbetween 10 and 11 i​nchesbetween 25.4 and 27.94 centimetres
from 10 to 11 inchesfrom 10 to 11 i​nchesfrom 25.4 to 27.94 centimetres
65.61679790026244 inches65.61679790026244 i​nches (force rounding error)1.7 metres
5.5”5.5​” (curly quotes)13.97 cm
5.5''5.5​'​' (2 single quotes)13.97 cm
5.5’’5.5​’​’ (2 single apostrophies)13.97 cm
5.5′′5.5​′​′ (2 single primes)13.97 cm

Feet and Inches

Test ValueOriginal Test ValueTarget ValueResult
My friend is 5 feet 11¾ inches tallMy friend is 5 f​eet 11¾ i​nches tallMy friend is 1.8 metres tall
My friend is 5 feet 11 3/4 inches tallMy friend is 5 f​eet 11 3/4 ​inches tallMy friend is 1.8 metres tall
My friend is 5 feet 11 3/4 inches tallMy friend is 5 f​eet 11 3/4 i​nches tallMy friend is 1.8 metres tall
5 foot 7 inches5 f​oot 7 i​nches1.7 metres
5 foot 7⅜ inches5 f​oot 7⅜ i​nches1.7 metres
5 foot 75 f​oot 71.7 metres
5 feet 7 inches5 f​eet 7 i​nches1.7 metres
4 feet 1 inch4 f​eet 1 i​nch1.2 metres
5' 7⅜"5​' 7⅜​"1.7 m
5' 75​' ​7​1.7 m
5' 7⅜5​' ​7⅜​1.7 m
5'7"5​'​7​"1.7 m
5’7”5​’​7​”1.7 m
5'75​'​7​1.7 m
5ft7in5​ft7​in1.7 m
5 ft 7 in5 f​t 7 i​n1.7 m
5ft 7in5f​t 7i​n1.7 m
5ft75f​t71.7 m
5 ft 75 f​t 71.7 m
5ft 75f​t 71.7 m
with 5ft, 7 other optionswith 5f​t, 7 other optionswith 1.5 m, 7 other options

Feet

Test ValueOriginal Test ValueTarget ValueResult
½ foot½ f​oot15.24 centimetres
½'½​'15.24 cm
½ ft½ f​t15.24 cm
1 foot1 f​oot30.48 centimetres
1'1​'30.48 cm
1 ft1 f​t30.48 cm
2 feet2 f​eet60.96 centimetres
2'2​'60.96 cm
2’2​’60.96 cm
2 ft2 f​t60.96 cm
1,000 feet1,000 f​eet305 metres
1,000 feet1,000 f​eet305 metres
2,000 feet2,000 f​eet610 metres
5,000 feet5,000 f​eet1.5 kilometres
10,000 feet10,000 f​eet3,048 metres
35,000 feet35,000 f​eet10,668 metres
Over 50'sOver 50​'s (false positive on apostrophe)Over 50​'s
5 footballs were reported lost.5​ fo​otballs were reported lost. (Test false positive)5​ fo​otballs were reported lost.
≈1,000 feet≈1,000 f​eet≈305 metres
60-foot60-f​oot18.3-metre

Yards

Test ValueOriginal Test ValueTarget ValueResult
1 yard1 y​ard91.44 centimetres
1 yd1 y​d91.44 cm
2 yards2 y​ards1.8 metres
2 yd2 y​d1.8 m
2yd2y​d1.8 m
2⅔yd2⅔y​d2.4 m
2 yds2 y​ds1.8 m
2, 3, 4, 5 and 6 yards2, 3, 4, 5 and 6 y​ards1.8, 2.7, 3.7, 4.6 and 5.5 metres
8 yardsticks were on backorder.8 y​ardsticks were on backorder. (Test false positive)8 y​ardsticks were on backorder.

Fathoms

Test ValueOriginal Test ValueTarget ValueResult
1 fathom1 f​athom1.8 metres
13 fathoms13 f​athoms23.8 metres
1 warship fathom1 w​arship f​athom1.8 metres
13 warship fathoms13 w​arship f​athoms23.8 metres
1 ftm1 f​tm1.8 m
13 ftm13 f​tm23.8 m
13 ftms13 f​tms23.8 m
5,000 fathoms5,000 f​athoms9 kilometres

Furlongs

Test ValueOriginal Test ValueTarget ValueResult
1 furlong1 f​urlong201 metres
3 furlongs3 f​urlongs604 metres
6 furlongs6 f​urlongs1.2 kilometres
8 furlongs8 f​urlongs1.6 kilometres
1 fur1 f​ur1 f​ur
3 furs3 f​urs3 f​urs
6 furs6 f​urs6 f​urs
8 furs8 f​urs8 f​urs
They have 3 fur coats.They have 3 f​ur coats.They have 3 f​ur coats.

Miles (Statute)

Test ValueOriginal Test ValueTarget ValueResult
½ mile½ m​ile805 metres
half a milehalf a m​ile805 metres
½mi½m​i805 m
½ mi½ m​i805 m
1 mile1 m​ile1.6 kilometres
1 statute mile1 s​tatute mile1.6 kilometres
1 mi1 m​i1.6 km
2 miles2 m​iles3.2 kilometres
2 statute miles2 s​tatute miles3.2 kilometres
2 mi2 m​i3.2 km
mile: 12m​ile: 12kilometre: 19.3
mile 12m​ile 12kilometre 19.3
miles 12, 15 and 18m​iles 12, 15 and 18kilometres 19.3, 24.1 and 29
twelve—milest​welve—m​iles19.3—kilometres
twelve milest​welve m​iles19.3 kilometres
one million two hundred and thirty four thousand five hundred and sixty seven milesone million two hundred and thirty four thousand five hundred and sixty seven m​iles1,986,843 kilometres
88,985,214,789 miles88,985,214,789 m​iles1.432×10¹¹ kilometres
88,985,214,789 mi88,985,214,789 m​i1.432×10¹¹ km
20,000 miles20,000 m​iles32,187 kilometres
twenty thousand milestwenty t​housand m​iles32,187 kilometres
20 thousand miles20 t​housand m​iles32,187 kilometres

Nautical Miles

Test ValueOriginal Test ValueTarget ValueResult
½ nautical mile½ na​utical mile926 metres
½nm½n​m926 m
½ nm½ n​m926 m
1 nautical mile1 n​autical mile1.9 kilometres
1 nm1 n​m1.9 km
1 nmi1 n​mi1.9 km
2 nautical miles2 n​autical miles3.7 kilometres
2 nm2 n​m3.7 km
2 nmi2 n​mi3.7 km

Leagues

Test ValueOriginal Test ValueTarget ValueResult
20,000 leagues under the sea20,000 l​eagues under the sea20,000 l​eagues under the sea

Miles per hour

Test ValueOriginal Test ValueTarget ValueResult
2 mph2 m​ph3.2 km/h
2 miles per hour2 m​iles per h​our3.2 kilometres per hour
2 m.p.h2 m​.p.h3.2 km/h

Weight

Tons

Test ValueOriginal Test ValueTarget ValueResult
¼ ton¼ t​on227 kilograms
½ ton½ t​on454 kilograms
1 ton1 t​on907 kilograms
2 tons2 t​ons1.8 tonnes
100 tons100 t​ons91 tonnes
100 tonnes100 t​onnes (False positive)100 t​onnes
23 imperial-tons23 imperial-t​ons23 tonnes
23 imperial-ton23 imperial-t​on23 tonne
23 imperial tons23 imperial t​ons23 tonnes
23 long ton23 long t​on23 tonne
23-ton23-t​on21-tonne
23 us tons23 us t​ons21 tonnes
23 short ton23 short t​on21 tonne

Stones

Test ValueOriginal Test ValueTarget ValueResult
¼ stone¼ s​tone1.6 kilograms
½ stone½ s​tone3.2 kilograms
1 stone1 s​tone6.4 kilograms
2 stones2 s​tones13 kilograms
100 stones100 s​tones635 kilograms

Stones and Pounds

Test ValueOriginal Test ValueTarget ValueResult
1 stone 5 pounds1 s​tone 5 p​ounds8.6 kilograms
12 stone 10 pounds12 s​tone 10 p​ounds81 kilograms
12 stone 1012 s​tone 1081 kilograms

Pounds

Test ValueOriginal Test ValueTarget ValueResult
½ pound½ p​ound226.8 grams
1 pound1 p​ound453.6 grams
2 pounds2 p​ounds907.2 grams
2 lb2 l​b907.2 g
2 lbs2 l​bs907.2 g
5 pounding drums5 p​ounding drums5 p​ounding drums
1lb1l​b453.6 g
2lbs2l​bs907.2 g
half a million poundshalf a million p​ounds227 tonnes
a million poundsa million p​ounds454 tonnes
1,500,000 pounds1,500,000 p​ounds680 tonnes
one and a half million poundsone and a half million p​ounds (v0.0.3 expect to fail)680 tonnes

Ounces

Test ValueOriginal Test ValueTarget ValueResult
1 ounce1 o​unce28.3 grams
1 troy ounce1 troy o​unce31.1 grams
1 oz1 o​z28.3 g
1oz1​oz28.3 g
7 ounces7 o​unces198.4 grams
7 ozs7 o​zs198.4 g
7ozs7​ozs198.4 g
1, 4 & 9 oz1, 4 & 9 o​z28.3, 113.4 & 255.1 g
1, 4 & 9 ounces1, 4 & 9 o​unces28.3, 113.4 & 255.1 grams

Area

Square Inches

Test ValueOriginal Test ValueTarget ValueResult
0.5 square inches0.5 s​quare i​nches3.2 s​quare centimetres
1 square inch1 ​square i​nch6.5 s​quare centimetres
0.05 square inches0.05 s​quare i​nches32.3 s​quare millimetres
8 square inches8 s​quare i​nches51.6 s​quare centimetres
8 square-inches8 s​quare-i​nches51.6 s​quare centimetres
8 inches²8 i​nches²51.6 s​quare centimetres
8 in²8 i​n²51.6 c​m²
8 sq in8 sq i​n51.6 c​m²
8 sqins8 sqi​ns51.6 c​m²

Square Feet

Test ValueOriginal Test ValueTarget ValueResult
200 square feet200 s​quare f​eet19 s​quare metres
200 square-feet200 s​quare-f​eet19 s​quare metres
200-square-feet200-s​quare-f​eet19-s​quare metres
200 sq. ft.200 s​q. f​t.19 m².
200 ft².20​0 f​t​².19 m².
200 sqft.20​0 s​qft.19 m².
200 sq ft20​0 s​q ft19 m²

Roods and Perches

Test ValueOriginal Test ValueTarget ValueResult
1 rood1 r​ood1,012 s​quare metres
6 roods6 r​oods6,070 s​quare metres
1 perch1 p​erch25 s​quare metres
40 perches40 p​erches1,012 s​quare metres

Acres

Test ValueOriginal Test ValueTarget ValueResult
¼ acre¼ a​cre1,012 s​quare metres
1 acre1 a​cre4,047 s​quare metres
12 acres12 a​cres4.9 hectres
12 ac12 a​c4.9 ha
9 actresses9 a​ctresses (Test false positive)9 a​ctresses
¼ ac¼ a​c1,012 m²

Squares (Construction)

Test ValueOriginal Test ValueTarget ValueResult
1 square is 100 square feet1 s​quare is 100 s​quare f​eet9.3 s​quare metres is 9.3 s​quare metres
The house was 78 squares.The house was 78 sq​uares.The house was 725 s​quare metres.

Volume

Fluid Ounces

Test ValueOriginal Test ValueTarget ValueResult
1 fluid ounce1 f​luid o​unce30 millilitres
1 us fluid ounce1 u​s f​luid o​unce30 millilitres
1 uk fluid ounce1 u​k f​luid o​unce28 millilitres
1 imperial fluid ounce1 i​mperial f​luid o​unce28 millilitres
2 fluid ounces2 f​luid o​unces59 millilitres
8¾ fluid ounces8¾ f​luid o​unces259 millilitres
400 fluid ounces400 f​luid o​unces12 litres
From 3 to 17 fluid ouncesFrom 3 to 17 f​luid o​uncesFrom 89 to 503 millilitres
5, 30, 200 and 400 fluid ounce options5, 30, 200 and 400 f​luid o​unce options0.15, 0.9, 6 and 12 litre options
5; 30; 200 and 400 fluid ounce options5; 30; 200 and 400 f​luid o​unce options0.15; 0.9; 6 and 12 litre options
1 fl oz1 f​l o​z30 ml
1 fl-oz1 f​l-o​z30 ml
1 fluid-oz1 f​luid-o​z30 ml
1 fluid oz1 f​luid o​z30 ml
9 fl ounces9 f​l o​unces266 ml
1 fl-ounce1 f​l-o​unce30 ml
1 fluid-ounce1 f​luid-o​unce30 millilitres
9 fl ozs9 f​l o​zs266 ml

Pints

Test ValueOriginal Test ValueTarget ValueResult
1 pint1 p​int473 millilitres
1 pt1 p​t473 ml
17 pints17 p​ints8 litres
34 pt34 p​t16.1 l
20-pint20 p​int9.5-litre
14 imperial pints14 imperial p​int8 litres
13 us pints13 us p​int6.2 litres
13 us dry pints13 us dry p​int7.2 litres
Between 5 and 9 pintsBetween 5 and 9 p​intsBetween 2.4 and 4.3 litres

Quarts

Test ValueOriginal Test ValueTarget ValueResult
1 quart1 q​uart946 millilitres
13 quarts13 q​uarts12.3 litres
13 us quarts13 us q​uarts12.3 litres
13 uk quarts13 uk q​uarts14.8 litres
13 imperial quarts13 i​mperial q​uarts14.8 litres
3-quart3-q​uart2.8-litre
A 6 uk quart containerA 6 u​k q​uart containerA 6.8 litre container
1 qt1 q​t946 ml
13 qts13 q​ts12.3 l

Gallons

Test ValueOriginal Test ValueTarget ValueResult
¼ gallon¼ g​allon946 millilitres
1 gallon1 g​allon3.8 litres
3 gallons3 g​allons11.4 litres
3 us gal3 u​s g​al11.4 l
3 us gallons3 u​s g​allons11.4 litres
3 uk gallons3 u​k g​allons13.6 litres
3 imp gal3 i​mp g​al13.6 l
3 imperial gallons3 i​mperial g​allons13.6 litres
0.264172052358148 US gallons0.264172052358148 U​S g​allons1 litre
1 imperial gallon is equal to 1.20095 us gallons1 i​mperial g​allon is equal to 1.20095 us g​allons4.5 litres is equal to 4.5 litres
1 gal1 g​al3.8 l
1 gal.1 g​al3.8 l.
3 gals3 g​als11.4 l

Barrels

Test ValueOriginal Test ValueTarget ValueResult
¼ barrel¼ b​arrel39.7 litres
1 barrel1 b​arrel159 litres
1 imperial barrel1 imperial b​arrel164 litres
25 barrels25 b​arrels3,975 litres
25 us barrels25 us b​arrels3,975 litres
1,000 barrels1,000 b​arrels158,987 litres
¼ oil barrel¼ oil b​arrel39.7 litres
1 oil barrel1 oil b​arrel159 litres
25 oil barrels25 oil b​arrels3,975 litres
1,000 oil barrels1,000 oil b​arrels158,987 litres

Cubic Inches

Test ValueOriginal Test ValueTarget ValueResult
0.001 cubic inch0.001 c​ubic inch16.387 cubic millimetres
1 cubic inch1 c​ubic inch16.39 cubic centimetres
23 cubic inches23 c​ubic inches376.9 cubic centimetres
There are 1,728 in³ in 1 ft³There are 1,728 i​n​³ i​n 1 f​t​³There are 28,317 cm³ i​n 28,317 cm³

Cubic Feet

Test ValueOriginal Test ValueTarget ValueResult
1 cubic foot1 c​ubic foot28,317 cubic centimetres
19 cubic feet19 c​ubic feet0.54 cubic metre
100 cubic feet100 c​ubic feet2.8 cubic metres
500 cubic feet500 c​ubic feet14.2 cubic metres
1000 cubic feet1000 c​ubic feet28.3 cubic metres
25,000 cubic feet25,000 c​ubic feet708 cubic metres
We recieved an order for 4 cubic footballsWe recieved an order for 4 c​ubic fo​otballsWe recieved an order for 4 c​ubic fo​otballs

Acre Feet

Test ValueOriginal Test ValueTarget ValueResult
1 acre foot1 a​cre foot1,233 cubic metres
51 acre feet51 a​cre feet62,907 cubic metres
51 acre-feet51 a​cre-feet62,907 cubic metres

Pressure

Pounds per square inch

Test ValueOriginal Test ValueTarget ValueResult
1 pound per square inch1 p​ound per square inch69 hectopascals
1 psi1 p​si69 hPa
1 p.s.i1 p​.s.i69 hPa
34 pounds per square inch34 p​ound per square inch234 kilopascals
34 psi34 p​si234 kPa
34 p.s.i34 p​.s.i234 kPa

Atmosphere

Test ValueOriginal Test ValueTarget ValueResult
1 atm1 a​tm101 kPa
1 atmosphere1 a​tmosphere101 kilopascals
1 standard pressure1 s​tandard pressure101 kilopascals
1 reference pressure1 r​eference pressure101 kilopascals
Mercury's surface is at 90 atmospheresMercury's surface is at 90 a​tmospheresMercury's surface is at 9.1 megapascals
The Mariana Trench is at 1,000 atmospheresThe Mariana Trench is at 1,000 a​tmospheresThe Mariana Trench is at 101.3 megapascals

Power

Horsepower

Test ValueOriginal Test ValueTarget ValueResult
0.000001 horsepower0.000001 h​orsepower745.6999 microwatts
0.000001 hp0.000001 h​p745.6999 µW
0.001 horsepower0.001 h​orsepower745.7 milliwatts
0.001 hp0.001 h​p745.7 mW
1 horsepower1 h​orsepower745.7 watts
48 horsepower48 h​orsepower35.8 kilowatts
48 brakehorsepower48 brakeh​orsepower35.8 kilowatts
48 brake-horsepower48 brake-h​orsepower35.8 kilowatts
48 brake horsepower48 brake h​orsepower35.8 kilowatts
400 BTU400 B​TU117.2 W
400 BTUs400 B​TUs117.2 W
1 british thermal unit1 b​ritish t​hermal u​nit293.07 milliwatts
2 british thermal units2 b​ritish t​hermal u​nits586.14 milliwatts
1 brittish thermal unit1 b​rittish t​hermal u​nit (alternate spelling)293.07 milliwatts
a 20,000 british thermal unit outputa 20,000 b​ritish t​hermal u​nit outputa 5.9 kilowatt output

Miscellaneous Units

Temperature

Test ValueOriginal Test ValueTarget ValueResult
78° fahrenheit78​° f​ahrenheit26° celsius
78 degrees fahrenheit78 d​egrees f​ahrenheit26 degrees celsius
78 degrees f78 deg​rees f26 degrees celsius
78 degrees F78 deg​rees F26 degrees celsius
78°F78​°F26°C
78°f78​°f26°C
78° f78​° f26°C
1 degree fahrenheit1 d​egree f​ahrenheit-17 degrees celsius
-1 degree fahrenheit-1 d​egree f​ahrenheit-18 degrees celsius
minus 1 degree fahrenheitminus 1 d​egree f​ahrenheitminus -17 degrees celsius
minus 100 degrees fahrenheitminus 100 d​egrees f​ahrenheitminus 38 degrees celsius
-100 degrees fahrenheit-100 d​egrees f​ahrenheit-73 degrees celsius
32° f32​° f0°C
−40° F−40​° F-40°C
-40°F-40​°F-40°C
40°F40​°F4.4°C
79 degrees79 d​egrees79 d​egrees
79°79​°79​°
between 32 and 90°Fbetween 32 and 90​°Fbetween 0 and 32°C
from 32 to 90°Ffrom 32 to 90​°Ffrom 0 to 32°C
from 32 to 90 degrees fahrenheitfrom 32 to 90 d​egrees f​ahrenheitfrom 0 to 32 degrees celsius

Fuel Consumption

Test ValueOriginal Test ValueTarget ValueResult
10 miles per gallon10​ m​iles p​er g​allon24 litres/100 kilometres
10 miles to the gallon10 m​iles to the gallon24 litres/100 kilometres
10 miles/gallon10 m​iles/gallon24 litres/100 kilometres
10 miles\gallon10 m​iles\gallon24 litres/100 kilometres
10½ miles per gallon10½​ m​iles per gallon22 litres/100 kilometres
Between 10 and 12 miles per gallonBetween 10​ and 12​ m​iles per gallonBetween 24 and 20 litres/100 kilometres
Option of: 10, 12 and 16 miles per gallonOption of: 10​, 12​ and 16​ m​iles per gallonOption of: 23.5, 19.6 and 14.7 litres/100 kilometres
10 mpg10​ m​pg24 l/100km
10⅔ mpg10⅔​ m​pg22 l/100km
10 2/3 mpg10​ 2​/​3​ m​pg22 l/100km
between 10 & 13 mpgbetween 10​ & 13​ mp​gbetween 24 & 18 l/100km
9mpg9​m​pg26 l/100km
5, 6, 7 as well as 9 mpg5​, 6​, 7​ as we​ll as 9​ m​pg47, 39, 34 as well as 26 l/100km

Energy

Test ValueOriginal Test ValueTarget ValueResult
1 calorie1 c​alorie4 kilojoules
800 calories800 c​alories3,347 kilojoules
800-calorie800-c​alorie3,347-kilojoule

Miscellaneous Testing

Singular Form

Test ValueOriginal Test ValueTarget ValueResult
mile 27m​ile 27kilometre 43.5
We stopped overnight at mile 32We stopped overnight at m​ile 32We stopped overnight at kilometre 51.5
It was exactly 1 mile longIt was exactly 1 m​ile longIt was exactly 1.6 kilometres long
We stopped overnight at mile 32 and restedWe stopped overnight at m​ile 32 and restedWe stopped overnight at kilometre 51.5 and rested
We stopped overnight at mile 32 to restWe stopped overnight at m​ile 32 to restWe stopped overnight at kilometre 51.5 to rest
We needed to reach mile 32 or abandon the tripWe needed to reach m​ile 32 or abandon the tripWe needed to reach kilometre 51.5 or abandon the trip
We went on a 27 mile hikeWe went on a 27 m​ile hikeWe went on a 43.5 kilometre hike
They were wearing 40 gallon hatsThey were wearing 40 g​allon hatsThey were wearing 151 litre hats
I used 9 inch nails in the roofI used 9 i​nch nails in the roofI used 22.86 centimetre nails in the roof
They had a 8 pound childThey had a 8 p​ound childThey had a 3.6 kilogram child
The ball was fumbled at the 10 yard lineThe ball was fumbled at the 10 y​ard lineThe ball was fumbled at the 9.1 metre line
She knitted a 7 foot scarfShe knitted a 7 f​oot scarfShe knitted a 2.1 metre scarf
An 8 ounce glass shattered on the floor.An 8 o​unce glass shattered on the floor.
(Grammar note: "An 226.8 gram glass" An/A)
An 226.8 gram glass shattered on the floor.
Walk ¼ mile to your friend's houseWalk ¼ m​ile to your friend's houseWalk 402 metres to your friend's house

Test False Positive Lat/Long Degrees & Feet/Inches

Test ValueOriginal Test ValueTarget ValueResult
Tropic of Capricorn: 23°26'Tropic of Capricorn: 23​°26​'Tropic of Capricorn: 23​°26​'
Tropic of Capricorn: 23° 26'Tropic of Capricorn: 23​° 26​'Tropic of Capricorn: 23​° 26​'
lat 42° 15’ 30" Nlat 42​° 15​’ 30​" Nlat 42​° 15​’ 30​" N
lat 18° 40’ 16" Slat 18​° 40​’ 16​" Slat 18​° 40​’ 16​" S
long 89° 17’ 45" Wlong 89​° 17​’ 45​" Wlong 89​° 17​’ 45​" W
long 20° 19’ 22" Elong 20​° 19​’ 22​" Elong 20​° 19​’ 22​" E

Test with dashes

Test ValueOriginal Test ValueTarget ValueResult
20-mile20-m​ile32.2-kilometre
5-mile5-m​ile8-kilometre
five-milefive-m​ile8-kilometre
5-mi5-m​i8-km
12-inch12-i​nch30.48-centimetre
9-inch9-i​nch22.86-centimetre
nine-inchnine-i​nch22.86-centimetre
4-yard4-y​ard3.7-metre
10-yard10-y​ard9.1-metre
10-yd10-y​d9.1-m
4-foot4-f​oot1.2-metre
13-foot13-f​oot4-metre
12-pound12-p​ound5.4-kilogram
9-pound9-p​ound4.1-kilogram
nine-poundnine-p​ound4.1-kilogram
17-ounce17-o​unce481.9-gram
8-ounce8-o​unce226.8-gram
10-ton10-t​on9.1-tonne
3-ton3-t​on2.7-tonne
12-gallon12-g​allon45.4-litre
9-gallon9-g​allon34.1-litre
11-pint11-p​int5.2-litre
7-pint7-p​int3.3-litre
17-quart17-q​uart16.1-litre
3-quart3-q​uart2.8-litre

Scaling Tests

[3 x 15 x 29 inches] should all use the same units because they are part of a group.
[3" x 5" x 40"] should use individual units because they are detected separetly.

Test with various HTML tags

Test with "20<br>miles<br>"
20
miles
Test with "20&nbsp;<br>miles<br>"
20 
miles
Test with "20<b>miles</b>"
20miles
Test with "20&nbsp;<b>miles</b>"
20 miles

Test CSS Margin Causing Illusion of Spaces

Test with <span style="margin-right: 7px;">
20miles
Test with <span style="padding-right: 7px;">
20miles
More investigation is required becaue it seems that the SPANs within the metrication hotspot prevent the margin/padding styles from being applied.
Test with <div style="margin-right: 7px; display: inline-block;">
20
miles
Test with <div style="padding-right: 7px; display: inline-block;">
20
miles
End test with <div>

Test HTML Comment Detection

Well-formed comment. Should show nothing. ==>
Malformed comment. Should show something. ==> start commentend 20 miles comment--> End comment testing.

Test with two spaces.

We hiked 20 miles.
20 miles.
20  miles. (Non-breaking spaces)

Test fractions.

We walked 14 mile and stopped.
<small><sup>1</sup><big>⁄</big><sub>4</sub></small> mile
14 mile
Test ValueOriginal Test ValueTarget ValueResult
¼ mile¼ m​ile402 metres
½ mile½ m​ile805 metres
¾ mile¾ m​ile1.2 kilometres
⅐ mile⅐ m​ile230 metres
⅑ mile⅑ m​ile179 metres
⅒ mile⅒ m​ile161 metres
⅓ mile⅓ m​ile536 metres
⅔ mile⅔ m​ile1.1 kilometres
⅕ mile⅕ m​ile322 metres
⅖ mile⅖ m​ile644 metres
⅗ mile⅗ m​ile966 metres
⅘ mile⅘ m​ile1.3 kilometres
⅙ mile⅙ m​ile268 metres
⅚ mile⅚ m​ile1.3 kilometres
⅛ mile⅛ m​ile201 metres
⅜ mile⅜ m​ile604 metres
⅝ mile⅝ m​ile1 kilometre
⅞ mile⅞ m​ile1.4 kilometres
-⅞ mile-⅞ m​ile-1.4 kilometres
1⅞ miles1⅞ m​iles3 kilometres
-1⅞ miles-1⅞ m​iles-3 kilometres
1.875 miles1.875 m​iles3 kilometres
-1.875 miles-1.875 m​iles-3 kilometres
1 7/8 miles1 7/8 m​iles3 kilometres
1 7/8 miles1 7/8 m​iles3 kilometres

Test Pseudo-Units.

A fictitious imperial unit 'qtestq' is converted into an equally fictitious SI unit 'qresultq'. This is to test the corrent evaluation of the input imperial unit prior to its conversion to metric.

Test ValueOriginal Test ValueTarget ValueResult
¼ qtestq¼ qtest​q0.25 qresultq
½ qtestq½ qtest​q0.5000000000000000000 qresultq
¾ qtestq¾ qtest​q0.75 qresultq
⅐ qtestq⅐ qtest​q0.142857142857143 qresultq
⅑ qtestq⅑ qtest​q0.111111111111111 qresultq
⅒ qtestq⅒ qtest​q0.1000000000000000000 qresultq
⅓ qtestq⅓ qtest​q0.333333333333333 qresultq
⅔ qtestq⅔ qtest​q0.666666666666667 qresultq
⅕ qtestq⅕ qtest​q0.2000000000000000000 qresultq
⅖ qtestq⅖ qtest​q0.4000000000000000000 qresultq
⅗ qtestq⅗ qtest​q0.6000000000000000000 qresultq
⅘ qtestq⅘ qtest​q0.8000000000000000000 qresultq
⅙ qtestq⅙ qtest​q0.166666666666667 qresultq
⅚ qtestq⅚ qtest​q0.833333333333333 qresultq
⅛ qtestq⅛ qtest​q0.125 qresultq
⅜ qtestq⅜ qtest​q0.375 qresultq
⅝ qtestq⅝ qtest​q0.625 qresultq
⅞ qtestq⅞ qtest​q0.875 qresultq
-1 qtestq-1 qtest​q-1 qresultq
-0.5 qtestq-0.5 qtest​q-0.5000000000000000000 qresultq
½ qtestq½ qtest​q0.5000000000000000000 qresultq
-½ qtestq-½ qtest​q-0.5000000000000000000 qresultq
1½ qtestq1½ qtest​q1.5000000000000000000 qresultq
-1½ qtestq-1½ qtest​q-1.5000000000000000000 qresultq
1 1/2 qtestq1 1/2 qtest​q1.5000000000000000000 qresultq
one qtestqone qtest​q1 qresultq
thirteen qtestqthirteen qtest​q13 qresultq
forty five qtestqforty five qtest​q45 qresultq
123,456.78910 qtestq123,456.78910 qtest​q (Thousands & decimal test)123,456.7891 qresultq
one third of a million qtestqone third of a million qtest​q333,333.3333333333 qresultq
one hundred and one and a half million qtestqone hundred and one and a half million qtest​q101,500,000 qresultq
eight sevenths of a million qtestqeight sevenths of a million qtest​q (test improper fraction)1,142,857.1428571427 qresultq

Test Informational Units.

Units are are converted for information only. The popup is inserted, but the actual values are not changed.

Test ValueOriginal Test ValueTarget ValueResult
Concorde flew at Mach 2.04 over water.Concorde flew at M​ach 2.04 over water.Concorde flew at M​ach 2.04 over water.
Neptune is 30.1 AU from the sun.Neptune is 30.1 A​U from the sun.Neptune is 30.1 A​U from the sun.
The server occupied 5 RU.The server occupied 5 R​U.The server occupied 5 R​U.
The speed limit was 8 knots.The speed limit was 8 k​nots.The speed limit was 8 k​nots.
The speed limit was 8 kn.The speed limit was 8 k​n.The speed limit was 8 k​n.

Informational Units / Cooking.

Teaspoons and tablespoons, etc.

Test ValueOriginal Test ValueTarget ValueResult
1 teaspoon.1 t​easpoon.1 t​easpoon.
8 tsp.8 t​sp.8 t​sp.
9 tspn.9 t​spn.9 t​spn.
2 tablespoon.2 t​ablespoon.2 t​ablespoon.
5 tbsp.5 tb​sp.5 tb​sp.
7 tbspn.7 tb​spn.7 tb​spn.
5 cups5 c​ups5 c​ups
1 cp1 c​p1 c​p
5 cps5 c​ps5 c​ps

Test Dynamic Content.

The following content is created dynamically via JavaScript when the page loaded.

Test ValueOriginal Test ValueTarget ValueResult
20 m​iles32.2 kilometres

German Text for Google T ranslate Test

5 Fuß 11 Zoll
31 Pfund
3 Flüssigunzen

Make a free website with Yola