Unit Conversions


The tables below are all the unit conversion factors used in the Unit Converter App tutorial, where we walked through together building out a JavaFX and SceneBuilder interface.

Click here to watch it on YouTube!

Length Converters
The standard unit for length is the meter, so all of the units should know how to convert from meters.

1 Kilometer1000 Meters
1 Meter1 Meter
1 Centimeter0.01 Meter
1 Millimeter0.001 Meter
1 Inch0.0254 Meter
1 Foot0.3048 Meter
1 Mile1609.344 Meter

Volume Converters
The standard unit for volume is the liter, so all of the units should know how to convert from liters.

1 Kiloliter1000 Liters
1 Liter1 Liter
1 Milliliter0.001 Liter
1 Gallon3.78541 Liter
1 Quart0.946353 Liter
1 Pint0.473176 Liter
1 Cup0.24 Liter
1 Fluid Ounce0.0295735 Liter
1 Tablespoon0.0147868 Liter
1 Teaspoon0.00492892 Liter

Time Converters
The standard unit for time is the second, so all of the units should know how to convert from seconds.

Year
31,536,000 Seconds
Month2,628,000 Seconds
Week604,800 Seconds
Day86,400 Seconds
Hour3,600 Seconds
Minute60 Seconds
Second1 Second
Millisecond.001 Second
Microsecond.000001 Second
Nanosecond.000000001 Second

Weight Converters
The standard unit for mass is the kilogram, so all of the units should know how to convert from kilograms.

Metric Ton1000 Kilograms
Kilogram1 Kilogram
Gram0.001 Kilogram
Milligram0.000001 Kilogram
Pound0.453592 Kilograms
Ounce0.0283495 Kilograms

Energy Converters
The standard unit for energy is the joule, so all of the units should know how to convert from joules.

Kilojoule1000 Joules
Joule1 Joule
Kilocalorie4184 Joules
Gram calorie4.184 Joules
British Thermal Unit1055.06 Joules
Watt Hour3600 Joules

Speed Converters
The standard unit for speed is meters per second, so all of the units should know how to convert from meters per second.

Meter / Second1 Meters / Second
Miles / Hour0.44704 Meters / Second
Knot0.514444 Meters / Second

Temperature Converters
The standard unit for temperature is Celsius, so all of the units should know how to convert to and from Celsius.

Kelvin to CelsiusC = K – 273.15
Celsius to KelvinK = C + 273.15
Fahrenheit to CelsiusF = ( C * 1.8 ) + 32
Celsius to FahrenheitC = ( F – 32 ) * 0.555556

Adam Allard

Hi, I'm Adam Allard. I'm a Full Stack Software Engineer for Northrop Grumman creating web applications for the DoD. At this time I'm primarily working with Java and Angular based applications, although I have some years of experience in various languages and frameworks from previous jobs where I dabbled with Python & Django, C# & Xamarin, PHP, and Bootstrap. My hobbies include time with my family, wondering when the Green Bay Packers will win their next Super Bowl, drinking over-priced beer, and of course learning and teaching.

Leave a Reply

Your email address will not be published. Required fields are marked *

Recent Posts