Date Calculator
Calculate the duration between two dates
Calculate Duration Between Dates
Results
About Date Calculations
The date calculator computes the difference between two dates. You can find out the number of days, weeks, months, and years between dates.
The calculator considers:
- Leap years (years divisible by 4, but not by 100 unless also divisible by 400)
- Different month lengths (28-31 days)
- Option to include or exclude the end date in the calculation
Speed Converter
Energy Converter
Pressure Converter
Power Converter
Data Storage Converter
About Data Storage Units
There are two main systems for measuring digital data storage:
Decimal (SI) System
- Byte (B): Basic unit of digital information (8 bits)
- Kilobyte (KB): 1,000 bytes (10³ bytes)
- Megabyte (MB): 1,000,000 bytes (10⁶ bytes)
- Gigabyte (GB): 1,000,000,000 bytes (10⁹ bytes)
- Terabyte (TB): 1,000,000,000,000 bytes (10¹² bytes)
- Petabyte (PB): 10¹⁵ bytes
- Exabyte (EB): 10¹⁸ bytes
- Zettabyte (ZB): 10²¹ bytes
- Yottabyte (YB): 10²⁴ bytes
Binary (IEC) System
- Byte (B): Basic unit (8 bits)
- Kibibyte (KiB): 1,024 bytes (2¹⁰ bytes)
- Mebibyte (MiB): 1,048,576 bytes (2²⁰ bytes)
- Gibibyte (GiB): 1,073,741,824 bytes (2³⁰ bytes)
- Tebibyte (TiB): 1,099,511,627,776 bytes (2⁴⁰ bytes)
- Pebibyte (PiB): 2⁵⁰ bytes
- Exbibyte (EiB): 2⁶⁰ bytes
- Zebibyte (ZiB): 2⁷⁰ bytes
- Yobibyte (YiB): 2⁸⁰ bytes
Note: The decimal system (KB, MB, GB) is commonly used in marketing and data transmission, while the binary system (KiB, MiB, GiB) is often used in computing contexts and file systems.
Tips:
- For precise calculations, remember that 1 KB = 1,000 bytes (SI standard)
- 1 KiB = 1,024 bytes (binary/IEC standard)
- Storage manufacturers typically use the decimal system
- Operating systems typically use the binary system
Angle Unit Converter
About Angle Units
Angles can be measured in various units depending on the application:
Common Angle Units
- Degrees (°): The most common unit. A full circle is 360 degrees.
- Radians (rad): Used in mathematics and physics. A full circle is 2π radians (approximately 6.283).
- Gradians (grad): Also called "gons". A full circle is 400 gradians. Popular in surveying.
- Turns: A full circle is 1 turn. Used in computer graphics and some engineering applications.
Subdivisions of Degrees
- Arcminutes ('): 1 degree = 60 arcminutes
- Arcseconds ("): 1 arcminute = 60 arcseconds (1 degree = 3600 arcseconds)
Specialized Units
- Milliradians (mrad): 1/1000 of a radian. Often used in military applications and ballistics.
- Minutes of Arc (MOA): Approximately 1/60 of a degree. Used in shooting and firearms contexts.
Conversion Formulas
Key relationships between angle units:
- 360 degrees = 2π radians = 400 gradians = 1 turn
- 1 degree = π/180 radians ≈ 0.01745 radians
- 1 radian = 180/π degrees ≈ 57.2958 degrees
- 1 gradian = 0.9 degrees = π/200 radians
Tips:
- Radians are the standard unit in calculus and most advanced mathematics
- Degrees are commonly used in navigation, geography, and everyday measurements
- Engineering drawings often use degrees, minutes, and seconds notation (e.g., 45° 30' 15")
- When working with trigonometric functions in most programming languages, angles must be in radians
Fuel Economy Converter
About Fuel Economy Measurements
Fuel economy measurements vary around the world, leading to different units and testing methods:
Common Fuel Economy Units
- Miles per gallon (MPG): Distance in miles that can be traveled on one gallon of fuel. Common in the US and UK, but they use different gallon sizes.
- Kilometers per liter (km/L): Distance in kilometers that can be traveled on one liter of fuel. Common in Japan and some other countries.
- Liters per 100 kilometers (L/100km): Volume of fuel required to travel 100 kilometers. Standard in most European countries and Canada.
Regional Differences
- US Gallon: Approximately 3.785 liters
- UK/Imperial Gallon: Approximately 4.546 liters (about 20% larger than US gallon)
- Testing Procedures: Different countries use different testing cycles (EPA in US, WLTP in Europe, etc.), leading to variations in reported fuel economy for the same vehicle
Understanding Consumption vs. Economy
There are two ways to express fuel efficiency:
- Economy (MPG, km/L): Higher numbers indicate better efficiency
- Consumption (L/100km, gal/100mi): Lower numbers indicate better efficiency
Conversion Formulas
Key relationships between fuel economy units:
- MPG (US) = 235.214 / L/100km
- MPG (UK) = 282.481 / L/100km
- km/L = 100 / L/100km
- L/100km = 235.214 / MPG (US)
- L/100km = 282.481 / MPG (UK)
Compare Fuel Economy
Use this tool to compare fuel economy between different vehicles or standards.
| Vehicle | MPG (US) | MPG (UK) | km/L | L/100km |
|---|---|---|---|---|
| Economy Car | 35.0 | 42.0 | 14.9 | 6.7 |
| SUV | 22.0 | 26.4 | 9.4 | 10.7 |
Fuel Difference: Economy Car uses 37% less fuel than SUV for the same distance.
Tips:
- Lower L/100km numbers are better (less fuel used)
- Higher MPG or km/L numbers are better (more distance per unit of fuel)
- UK gallons are about 20% larger than US gallons, resulting in higher MPG values
- Real-world fuel economy often differs from manufacturer's stated figures due to driving conditions, maintenance, and driving style