• Log In / Sign Up
  • Los Angeles
  • Philadelphia
  • San Francisco
  • Washington DC
  • Massachusetts
  • North Carolina
  • Pennsylvania
  • British Columbia
  • Saskatchewan
  • Phillips 66
  • Get the Card
  • Gas Card Details
  • Credit Card Details
  • How GasBack Works
  • Premium Membership
  • Gas Price Charts
  • Gas Price Map
  • Fuel Demand
  • Fuel Insights
  • Outage Tracker
  • Vehicle Recalls
  • Fuel Logbook
  • Leaderboards
  • Plan Your Trip

Trip Cost Calculator

Going on a trip.

With the help of GasBuddies across North America reporting fuel prices at their local stations, we are able to find you the cheapest stations along your road trip route!

Select Trip Type

Measurements

Vehicle Information

  • Aston Martin
  • Lamborghini
  • Mercedes-Benz
  • Rolls-Royce
  • Avanti Motors
  • International
  • No options available

Easy-to-Use Gas Estimator

Stop worrying about gas prices that prevent you from visiting friends or family. Get the best prices at the perfect time. You can gain access to insider knowledge to save money by using the GasBuddy gas calculator. Find the cheapest gas stations on your route with this easy-to-use gas estimator for your trip. Discover how this simple tool can estimate your total trip cost, gas mileage, gallons used, and the savings you’ll experience today. All you have to do is enter where you’re going and what kind of car you drive, and GasBuddy will do the rest.

Need to change your driving plans mid-trip? Just hop on your GasBuddy App and enter your location to keep saving on gas. With over 150,000 gas stations nationwide in the GasBuddy network, you can get up-to-date changes on gas prices. Calculate the gas cost for your trip accurately and with ease by using GasBuddy.

Beyond the Trip Cost Calculator: How to Save on Gas Money by Using GasBuddy

Looking for the best deals and savings on gas around? Join the club and get a Pay with GasBuddy Fuel Saver Card and save even more. Sign up by linking your checking account to your GasBuddy card and save up to 25¢/gallon on every gallon of gas. Don’t waste any more time driving farther to try and save money. With the GasBuddy App and discount card, you can save on the cost of gas for your trip no matter where you go.

  • State Gas Price Averages
  • Gas Cost Calculator
  • Fuel Saving Tips
  • Fuel Quality
  • Premium Fuel Research
  • Contact AAA

gasoline trip calculator

Today’s AAA National Average $3.361

Price as of 8/28/24

AAA GAS COST CALCULATOR

Today’s AAA National Average

Please select Starting location and Destination

Please select car Maker, Year and Model or MPG

Results display fuel cost based on today's average.

Fuel Price Data Provided By: Oil Price Information Service (OPIS)

Compare prices

Fuel Calculator ⛽

Use this fuel cost calculator to easily calculate fuel cost and the gallons / liters needed to complete a trip. Calculate gas cost or petrol cost - we support miles and gallons, liters and km, etc.

Related calculators

  • Fuel Needed & Fuel Cost Calculations

Variation in fuel consumption

  • Formula for fuel amount
  • How to improve fuel economy?

    Fuel Needed & Fuel Cost Calculations

In order to calculate the amount of fuel for a given trip using our fuel cost calculator or otherwise, you need to know the total distance you will be covering and the expected average fuel consumption of your vehicle. It works the same way for cars, trucks, buses, vans, SUVs, and even boats and planes. If you also want to calculate the fuel cost of a trip, then you need to know the price per gallon or price per liter at which you can by.

Our calculator supports entering distances in miles and kilometers. In terms of fuel consumption, it is very versatile as it accepts: miles per gallon, gallons per 100 miles, kilometers per liter and liters per 100 kilometers. In the US, miles per gallon and kilometers per liter would more frequently used, while in most of Europe the preferred metric would be liters to travel 100 km and gallons to cover 100 miles. The result in terms of fuel amount is in gallons or liters, and for fuel cost is in the currency you entered it in (you can simply ignore the currency sign, e.g. $ (USD)).

Make sure to account for the variation in fuel consumption when driving within city limits and on highways - usually the consumption is higher in the former case. Always fill your tank with more fuel than you anticipate you would need, especially during winter or when driving through desolate areas or when extreme weather conditions are expected.

    Formula for fuel amount

If you are using mpg (miles per gallon), then the formula for calculating the total amount of gas needed is:

Fuel = Distance / Consumption mpg

For example, if the distance is 500 miles and consumption is 20 miles per gallon, then the fuel you will need for the entire distance is 500 / 20 = 25 gallons.

If you are using gallons per 100 mi to measure consumption, then the formula for calculating the amount of fuel needed is:

Fuel = Distance / 100 x Consumption per 100 mi

For example, if the distance is 300 miles and the consumption is 5 gallons per 100 miles, you will need 300 / 100 x 5 = 15 gallons of gas.

Both formulas are applicable for metric units - km and liters, just make sure you do not mix metric units. Using an online fuel calculator will make sure you do not commit that mistake.

    How to improve fuel economy?

Don't like the numbers you see when you use our tool? If you wonder how you can improve the fuel efficiency of your vehicle so you can cover more miles (or kilometers) with less fuel, we have some tips that can result in significant savings, especially when applied consistently over time. Here is our list of 10 fuel efficiency tips :

  • Drive sensibly - If you drive aggressively - too fast compared to other cars, constantly overtaking other vehicles, and rapid acceleration followed by braking, only to accelerate again wastes a lot of gas. By some estimates, quick starts and hard stops can increase fuel consumption by more than 30% ! This is why this is number one in our fuel efficiency list.
  • Observe the speed limit - Different vehicles have optimal fuel economy at different velocities, but one way to increase gas mileage is to avoid driving at higher speeds. A small reduction of your average speed , say from 70 mph to 60 mph (equivalently: from 115 km/h to 100 km/h) can help you save 10 to 20% due to lower fuel consumption.
  • Follow the leader - drive at about the speed of the vehicle in front of you, if they are following the first 2 tips above. This will make sure you need to accelerate and decelerate as little as possible. If possible, overtake drivers who do not follow them, as it will make it very hard for you to do so. This will result in smaller numbers from our fuel cost calculator.
  • Check your tires - make sure your tire pressure is at optimal levels as indicated in the owner's manual provided by the auto manufacturer. If the pressure is too low your mileage will decrease significantly, not to mention that the car may become dangerous to drive.
  • Smart routing - make sure you take optimal paths to reach your desired destination. Learn the different modes of route selection your GPS employs - the shortest is not always the fastest and idling stuck in traffic will waste fuel. Use services such as Google Maps to check for traffic congestions on the planned route. Using a route you know well can also help improve fuel efficiency, since you will know in advance where it makes sense to increase speed and where it does not, because of a traffic light just ahead.
  • Air conditioning - turning it off will most likely improve your fuel efficiency by 10-15%, and will result in you having more power to accelerate quicker when needed. If it is necessary, make sure you do not set it to unreasonably low or high levels. Air temperature in the range between 64°F - 75°F (18°C - 24°C) is comfortable for most people. Due to the law of thermodynamics, each subsequent degree of heating or cooling requires progressively more energy to accomplish and maintain.
  • Remove excess weight - make sure you remove any unneeded heavy items you have in your trunk. One of the untold benefits of losing weight is that your car will be a bit more efficient as well.
  • Turn cruise control ON - when on a highway, make sure to use your cruise control option. By keeping your speed constant, it will most likely save gas and result in lower fuel costs.
  • Avoid idling - idling means 0 miles per gallon and the larger the car engine, the more gas is wasted when idling. Avoid excessive idling, when possible, in line with point #5 above to keep fuel costs low.
  • Maintain your vehicle - a well-maintained car, truck, van, SUV, etc. will operate at greater efficiency. Exact fuel savings are hard to calculate, as it will depend on the type of maintenance work your vehicle needs. However, good maintenance is sure to lead to fuel savings and smaller cost numbers coming out of our calculator.

fuel cost

All the above advice is fine, but what do you do if you have been following the above advice, yet our tool still shows you numbers that are so high you want to cry? Well, it is most likely time for a new car, or it could be just the fuel price fluctuations over which, unfortunately, neither you nor we have much influence, individually. Fuel prices in most places contain license fees and other state or local government taxes, in some places reaching as much as 50% of the final price. Financial market fluctuations, natural disasters or extreme weather, crisis, as well the geographical area you are in and the local fuel suppliers all influence the price of gas. All you can do is try to observe them and predict when you can get a more decent price.

Cite this calculator & page

If you'd like to cite this online calculator resource and information as provided on the page, you can use the following citation: Georgiev G.Z., "Fuel Cost Calculator" , [online] Available at: https://www.gigacalculator.com/calculators/fuel-calculator.php URL [Accessed Date: 29 Aug, 2024].

     Transportation calculators

Travelmath

Travel Cost Calculator

Quick links, trip pricing calculator.

Travelmath provides an online cost calculator to help you determine the cost of driving between cities. You can use this data to figure out a budget for a road trip. The driving calculation is based on the average fuel efficiency of your vehicle, and you can change the gas mileage in mpg or L/100 km to match your exact make and model. Gas prices are automatically estimated based on current fluctuations, and again you can adjust these to fit your local gas station prices. Both U.S. and international units are available to make the calculations easier to use, and the output is given for both one-way and round trip travel routes.

Check the driving distance for your planned route, and see if the total driving time requires an overnight stay. If it's a long trip, you may want to research some hotels along the way . Or compare whether it's better to fly or drive to your destination.

Home  ·  About  ·  Terms  ·  Privacy

Travelmath

Gas Cost Calculator

Gas Cost Calculator is used to calculate the total fuel cost of a trip based on the distance, miles per gallon, and the price of gas.

Estimate Fuel Cost

gasoline trip calculator

Fuel Cost Calculator | Terms | Privacy | Disclaimer | Contact

©2024 Fuel Cost Calculator

Even the planning part of your adventure should be fun

Even the planning part of your adventure should be fun

Route from A to B and discover what you love in between. Plan better trips, collaborate with friends, and enjoy the process.

Estimate your fuel costs

Estimate your fuel costs

Save at the pump with Roadtrippers.

How to estimate your travel costs

Did you know that Roadtrippers can help you estimate your fuel costs for your next road trip? Get started by entering your vehicle information in your profile.

  • How do you estimate fuel costs?
  • Can I edit the MPG for my vehicle?

Plan your next road trip

One-tank road trips.

5 one-tank road trips from Los Angeles, California

5 one-tank road trips from Los Angeles, California

5 one-tank road trips from Boston, Massachusetts

5 one-tank road trips from Boston, Massachusetts

5 one-tank road trips from Chicago, Illinois

5 one-tank road trips from Chicago, Illinois

5 one-tank road trips from Charlotte, North Carolina

5 one-tank road trips from Charlotte, North Carolina

5 one-tank road trips from Washington, D.C.

5 one-tank road trips from Washington, D.C.

5 one-tank road trips from New York City

5 one-tank road trips from New York City

Turn your road trip into an adventure.

How to plan a road trip

How to plan a road trip

How to plan a road trip: 5 steps to get you ready to hit the road

How to plan a road trip: 5 steps to get you ready to hit the road

10 national parks that are fun for the whole family

10 national parks that are fun for the whole family

gasoline trip calculator

Plan Your Trip Now

Discover the most incredible people, places, and experiences worth the detour.

gasoline trip calculator

Why adventure seekers love Roadtrippers

gasoline trip calculator

"Tears of joy"

“After 5 days of using three maps and five different apps, I found Roadtrippers. I was telling my boyfriend as we sat in the RV and started crying as I described it to him. Happy days.” Olivia T.

gasoline trip calculator

"Absolutely love this app"

"If you go on even one road trip a year it’s worth it. I use it to find new and unusual stuff in my area… LOVE IT!” Lindsey L.

gasoline trip calculator

"Makes planning fun"

“I’m planning a 60-day road trip and this app makes it so much fun and far less work! I couldn’t imagine trying to plan a trip without it now.” David M.

gasoline trip calculator

"Discovered new things"

"Fantastic! Really useful with road trips and with finding things in my city I didn't know existed. Seriously, I recommend it to everyone, I love it!" Nick R.

gasoline trip calculator

The #1 road trip planning tool .main-hero { display: none; } .plan-a-road-trip-button { display: none; } #featuredbar { background: #FFDC4E; } #emojireviews { background: #EAE7F5; }

Discover the most incredible people, places, and experiences worth a detour. Share and collaborate with friends. Have fun planning your next weekend getaway, spring break road trip, or cross-country adventure.

The #1 road trip planning tool

Discover millions of places

Discover millions of places

Find quirky roadside attractions, scenic points, national parks, and more.

The perfect itinerary-maker

The perfect itinerary-maker

Instantly estimate fuel costs with our powerful route planner. Explore places within a set distance from your route, filter and sort by reviews, photos, and more.

Get pre-made trip guides

Get pre-made trip guides

From classic American road trips to the weird and the wonderful, get inspiration from our pre-made trip guides.

Search and book hotels

Search and book hotels

Find the best places to stay along your route, check out reviews and photos, and book the most convenient option.

More reasons to love Roadtrippers

Plan better trips

Plan better trips

Add up to 150 of the best stops to your epic road trips.

RV routing

RV routing Beta

Make a route that's customized for your RV.

No ads

Plan your trip without interruption.

Collaboration

Collaboration

Build incredible journeys with a little help from your friends.

New map styles

New map styles

Go lighter or darker depending on time of day.

Live traffic

Live traffic

Check traffic conditions while on the road.

Amazing deals

Amazing deals

Get special discounts from our travel partners.

Offline maps

Offline maps

Select from our list of offline maps to explore off the grid.

  • Sign up Log in Sign out
  • Log in Sign out

Roadtrippers

Plan your journey, find amazing places, and take fascinating detours with our app.

gasoline trip calculator

If you used to sign in with Roadpass, you should now use the same username and password to log in directly with Roadtrippers above.

We couldn't find an existing Roadtrippers account using that service. Please try signing in with another option.

We need your email address to send you trip itineraries and other updates.

How do you want to plan your trip?

With just a few questions, our newest Premium feature, Autopilot, will plan your next adventure.

gasoline trip calculator

Gas Calculator

Table of contents

This gas calculator is a handy tool for every driver who, when planning a trip, asks how much gas will I use? We prepared the gas estimator to help you find out how much fuel you will use on a car trip and how much it will cost you.

Our gas cost calculator is versatile and offers more than other web-based fuel cost calculators (e.g., splitting the gas cost). All you need to do is enter the driving distance and the average fuel economy of your car — then all the math is done automatically! In fact, your biggest concern will be how much gas costs at your nearest gas station.

That's not all, though. In the corresponding article, you can find information about gas prices today, gas price history, and gas price increases. Also, check out the best fuel economy cars and how to do eco-drive properly. Finally, a user-friendly tutorial will ensure you're using the gas calculator properly.

How much gas will I use?

Our gas estimator operates on a very simple premise:

Determine the distance you are about to travel. Let's say 295 km .

Find out what's your fuel economy. Let's use 8 l/100 km .

To work out how much fuel you will use in total, divide your distance by 100 (because we are looking at the fuel use every 100 km), so: 295 / 100 = 2.95 and then multiply it by your combustion, so by 8: 2.95 × 8 = 23.6 . Now you know that you will use 23.6 liters of fuel.

If we want to take this one step further and find out how much this trip will cost us:

Determine the price of the fuel. Let's say 1.6 €/L .

To find out the total price, multiply the total amount of fuel you will use by its price, so: 23.6 l × 1.6 €/L = €37.76 .

Now you know how to calculate the fuel use and its cost on your own, or you could use our gas calculator to make it so much easier and faster!

Splitting the gas cost

We finally know the answer to the question: how much gas will I use? However, we often travel with other passengers, so there is no need to pay for gas only by ourselves, we can split the cost among all passengers instead. All those calculations can be working awkward, so to spare you time and effort, our gas calculator can do it for you:

  • Find out the total fuel cost. Let's use the example above of €37.76 .
  • Determine how many people are there. Let's say 4 .
  • Divide the total price by the number of people to work out each person's share: €37.76 / 4 = €9.44 or let our gas estimator do it for you!

Related topics

There is occasionally a situation when you need to convert liters into gallons, be it US gallons or UK gallons. Let's be honest: no one has ever learned to do it by heart, so we always seek out help, mostly online. Our gas calculator has the option of not only choosing whether you want to count liters or gallons but also what is the distance unit — kilometers, miles, etc. However, we encourage you to use our mpg converter for converting between liters and gallons.

You might also find yourself reluctant to drive everywhere. If you're planning to spend some time in a different city, for instance, it might be more economical to use public transport! Take a look at our ticket optimizer to choose the cheapest combination of tickets for your stay.

Cost of gas

Gas cost

Every car user spends money on gas. It is one of the most noticeable vehicle-related expenses. You can drive a car that has old tires, but without a full fuel tank, you will not travel far. So, it is evident that we quickly notice any increase in fuel price. According to the American Automobile Association (AAA) , the average driver spends $3000 on fuel annually.

Gasoline prices are not determined just by the price of crude oil. Let's take a closer look at it. According to the Energy Information Administration (EIA) , the average price of a gallon of regular gas in May 2014 was about $3.67. For the week of June 23, it would set you back $3.70. A French driver would have paid around $7.83, a British one $8.94. In Norway, which produces 1.8 million barrels of oil per day, a gallon of gas reached $9.90.

Gas prices and taxes

According to the EIA data from May 2014, the costs of producing crude oil account for only 65% of the average gas price. The next 12% are taxes (federal, state, and local), and another 11% for distribution and marketing. Refining accounts for about 13% of the gasoline price.

A big part of the gas price is taxes. The U.S. federal government established an 18.4 cents tax on gasoline and 24.4 cents on diesel. Without taxes, a gallon of gasoline is more expensive in the USA than in the U.K. ($3.18) and France ($3.37). There are also local and state taxes to consider. According to the Tax Foundation , if you are buying gas in New York State, you would pay the highest taxes in America (50.6 cents per gallon in 2013). The lowest taxes are in Alaska, where most of America's oil comes from — they are 8 cents.

Gas price history

Below you will find the retail price of regular gasoline in the United States from 1990 to 2017 (in U.S. dollars per gallon) . Check the fluctuations of a gas price over the last seventeen years.

Gas price increase

Gas prices are not stable and tend to fluctuate over time. These variations may be driven by many different factors, e.g., consumer fears over refining capacity. There are also economic factors, for example, a non-stable geopolitical situation (especially near oil-producing nations) or the risk of an oil-supply interruption.

To illustrate this principle, let's go back in time to 2005 when Hurricane Katrina hit much of the refining capacity along the Gulf Coast. Many refineries had to be closed, which caused a decrease in oil supply and, automatically, a high increase in gas prices. That year began with the average monthly gas price at $2.27 and finished at $2.76 but within the general upward trend. In September, there was a peak of up to $3.47 due to fears about the gasoline supply — this is the first time in history that gas prices exceeded the $3 threshold.

Even though the supply met the demand shortly after, gasoline suppliers weren't inclined to lower the prices as their customers got used to new prices. As a result, the price of gasoline has been kept high since the hurricane.

Gas price today

According to the Energy Information Administration , USA produces about 12% of the world's oil, which amounts to 2.7 billion barrels per day . That makes the United States one of the major oil-producing countries, up there with the likes of Saudi Arabia and Russia. However, the U.S. is also one of the biggest consumers of gasoline on a per capita basis, with approximately 1.22 gallons of gas per person daily. Gasoline is often regarded as a key driver of a country's economy. It is the main fuel used in passenger vehicles and the automotive fleets of small and large businesses.

Let's take a look at a worldwide gasoline prices comparison (in U.S. dollars per gallon). The data comes from April 16th, 2018. Fuel prices vary from a few cents to over 7 dollars per gallon. Gas prices in the U.S. were at the level of $2.99, while in Germany, they were considerably higher — $6.43. We can observe that, generally, gas prices in Europe are much higher than in America. Norway is the infamous world leader in gas prices at $7.82 per gallon. This is over 2.6 times more than in the USA and... 261 times more than in Venezuela ($0.03).

Gasoline prices over time

Fuel economy

We all wish we didn't have to spend so much on gas and would like to keep that money in our wallets instead. Check out the tips below if you want to save more money while fueling your car:

Check prices online — nowadays, there are many websites that provide daily updated gas prices in your neighborhood. Spending a little bit of time on an Internet check will allow you to plan a route for a gas stop at the station with the best prices. Try to do it for a month or two, and you will notice which stations consistently offer lower prices, and which tend to raise them.

Stay away from the highway — the stations which are located close to big roads are often the easiest to reach and prompt you their good quality coffee and meals. Keep in mind that probably you will pay more (sometimes much more) just because of the good location of the business.

Small, private stations — are a good alternative. Owners are not affiliated with big brands which take some of the income because of brand recognition. The quality of gas has to be compliant with standards, so you shouldn't be concerned about it.

Plan your purchase — try to avoid the situation when you are forced to fill up by the fuel indicator on your dashboard. You would probably have to stop at the nearest gas station; hopefully not one close to the highway.

Join the club partnership — most gas companies offer club partnerships. Being a club member enables you to recoup some money if you refuel at their gas stations regularly. Usually, you collect points when filling up, and then you can exchange them for discounts or gifts.

gas station

Because of rising fuel prices more and more motorists are conscious of getting the maximum efficiency from their cars. Eco-driving is a way of driving that reduces fuel consumption, gas emissions, and accident rates. This term is the synonym for driving in a smart, smooth, and safe way that leads to an average fuel savings of 5-10% . Keep in mind — good driving is eco-driving .

If you are interested, follow the rules below:

  • Anticipate the traffic flow : Look ahead on the road as far as you can and try to anticipate the flow of traffic. Maintain a larger safety distance from other cars to increase your scope of the traffic. Use this knowledge to get the most out of your vehicle's momentum (in gear or neutral), accelerating and braking smoothly.

🙋 Learn how to estimate traffic flow in the traffic density calculator .

Maintain a steady speed at low RPM : Drive gently, using the highest possible gear at low RPM. Avoid driving at excessive speeds. Try to keep the speed steady and avoid unnecessary braking and acceleration.

Shift up early : Change to a higher gear at around 2000 RPM.

Check tires pressures frequently : Ensure your tires are properly inflated. Low tire pressure is a safety risk and a waste of fuel.

Avoid dead weight and aerodynamic drag : Remove heavy objects that you don't use from your car (for sure you have some). Also, keep windows closed while driving on the motorway — it helps to improve the fuel economy.

Use air-conditioning sparingly : Using the AC unnecessarily is a waste of money because keeping it on increases fuel consumption.

Share your car : One of the best ideas to save money. Just one additional passenger would reduce your trip expenses by 50%.

Best fuel economy cars

“New vehicles offer the latest designs, cutting-edge technologies, and warranties that offer peace of mind, but car owners that like to change vehicles frequently should be thinking about the resale value – not just the purchase price – when choosing their next ride.”
John Nielsen, American Automobile Association's (AAA) managing director of Automotive Engineering and Repair.

The latest annual AAA’s analysis shows a shift in consumers' preferences. We can observe an increased appetite for SUVs cars and pickup trucks and a decreased demand for sedans.

This results in higher car depreciation costs (up to 13% in comparison to last year) for these ex-popular cars. Electric and hybrid vehicles have also increased in their popularity — 20 percent of Americans (15% in the previous year) say they are likely to buy an electric car as their next vehicle. It is not surprising — driving "green" cars is going to be more and more affordable. This is because of the much lower fuel and maintenance charges.

Research conducted by AAA shows the average cost of owning and operating a new vehicle in 2018. The study is based on the cost of fuel, maintenance, repairs, insurance, and taxes. 45 top-selling 2018 model year cars were taken into account across nine categories. The databases on 15,000 miles driven annually.

New cars are attractive to buyers because of the newest technology and electronics inside, various accessories, and a multitude of configuration options. However, they are not the best economical choice for some customers. For those who look for alternatives to new car ownership or ways to minimize operating costs should take a look at the tips below:

Buy a pre-owned car — slightly used vehicle in good condition is an affordable choice. Ownership costs are significantly lower, and the vehicle can still be safe, reliable, and perfect for driving.

Fuel responsibly — avoid wasting money on premium grade gasoline (unless your vehicle requires it) and on tanking up at expensive gas stations (e.g., those near highways).

Take care of your car — in general, spending money on routine maintenance will save you money.

Drive eco — when gas prices rise, small changes in your driving style could make a significant difference to your wallet.

Cars with great gas mileage used to have a reputation for being underpowered and small. However, the latest technologies, from plug-in hybrids to weight-saving measures and new solutions applied to engine construction, helped to change it. Nowadays, it means that nearly any kind of vehicle can be efficient without compromising space, comfort, or fun. Take a look at the top 15 best fuel economy cars:

  • Toyota Prius Prime (2018)
  • Hyundai Ioniq PHEV (2018)
  • Honda Clarity PHEV (2018)
  • Chevrolet Volt (2018)
  • Kia Niro PHEV (2018)
  • Kia Optima PHEV (2018)
  • Hyundai Ioniq Blue (2018)
  • Toyota Prius Eco (2018)
  • Toyota Camry Hybrid LE (2018)
  • Kia Niro FE (2018)
  • Honda Accord Hybrid (2017)
  • Chevrolet Malibu Hybrid (2018)
  • Ford Fusion Hybrid (2018)
  • Hyundai Sonata SE Hybrid (2018)
  • Kia Optima Hybrid (2018)

Cost of gas for trip

You are planning a trip, and you are wondering how to get there. Usually, if the distance is not too big, traveling by car is fast and comfortable. Moreover, it is often cheaper than flying or even taking a train. But is it always? Finding the answer involves the current price of gasoline, your car's fuel efficiency, the distance, and some other road fees.

While planning a trip by car, first, you should find out what your car's fuel economy is (you can do that with our mpg calculator ). Then, knowing the trip distance, you can use the fuel cost calculator and easily find out if it is affordable for you to use a car for the trip. Remember, you can easily reduce the costs of gas by finding cheap gas stations on the way and by taking more friends with you who can chip in for the fuel.

Why do gas prices go up?

Gas prices may go up for a number of reasons:

  • Restricted supply of oil;
  • Increased taxes; and
  • The seller wished to increase their profit margins.

Does cruise control save gas?

Yes , cruise control saves gas, but only on flat roads. This is because it prevents unnecessary acceleration and deceleration , which can eat more fuel by the sudden shifts in the engine's demands. However, when using cruise control to climb hills, it cannot anticipate when you'll reach the top of the hill and so will keep the gas on for longer than you would.

How much will my drive cost me?

To find out how much your drive will cost, follow these steps:

  • Find the distance you have to travel and the fuel efficiency of your vehicle.
  • Multiply these two figures together. Ensure that the two distance units are the same. This result will give you the total fuel used.
  • Multiply the total fuel burned by the price of fuel. The two units of volume need to be the same.
  • The result is the total cost of your drive.

.css-m482sy.css-m482sy{color:#2B3148;background-color:transparent;font-family:var(--calculator-ui-font-family),Verdana,sans-serif;font-size:20px;line-height:24px;overflow:visible;padding-top:0px;position:relative;}.css-m482sy.css-m482sy:after{content:'';-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);transform:scale(0);position:absolute;border:2px solid #EA9430;border-radius:2px;inset:-8px;z-index:1;}.css-m482sy .js-external-link-button.link-like,.css-m482sy .js-external-link-anchor{color:inherit;border-radius:1px;-webkit-text-decoration:underline;text-decoration:underline;}.css-m482sy .js-external-link-button.link-like:hover,.css-m482sy .js-external-link-anchor:hover,.css-m482sy .js-external-link-button.link-like:active,.css-m482sy .js-external-link-anchor:active{text-decoration-thickness:2px;text-shadow:1px 0 0;}.css-m482sy .js-external-link-button.link-like:focus-visible,.css-m482sy .js-external-link-anchor:focus-visible{outline:transparent 2px dotted;box-shadow:0 0 0 2px #6314E6;}.css-m482sy p,.css-m482sy div{margin:0;display:block;}.css-m482sy pre{margin:0;display:block;}.css-m482sy pre code{display:block;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}.css-m482sy pre:not(:first-child){padding-top:8px;}.css-m482sy ul,.css-m482sy ol{display:block margin:0;padding-left:20px;}.css-m482sy ul li,.css-m482sy ol li{padding-top:8px;}.css-m482sy ul ul,.css-m482sy ol ul,.css-m482sy ul ol,.css-m482sy ol ol{padding-top:0;}.css-m482sy ul:not(:first-child),.css-m482sy ol:not(:first-child){padding-top:4px;} .css-63uqft{margin:auto;background-color:white;overflow:auto;overflow-wrap:break-word;word-break:break-word;}.css-63uqft code,.css-63uqft kbd,.css-63uqft pre,.css-63uqft samp{font-family:monospace;}.css-63uqft code{padding:2px 4px;color:#444;background:#ddd;border-radius:4px;}.css-63uqft figcaption,.css-63uqft caption{text-align:center;}.css-63uqft figcaption{font-size:12px;font-style:italic;overflow:hidden;}.css-63uqft h3{font-size:1.75rem;}.css-63uqft h4{font-size:1.5rem;}.css-63uqft .mathBlock{font-size:24px;-webkit-padding-start:4px;padding-inline-start:4px;}.css-63uqft .mathBlock .katex{font-size:24px;text-align:left;}.css-63uqft .math-inline{background-color:#f0f0f0;display:inline-block;font-size:inherit;padding:0 3px;}.css-63uqft .videoBlock,.css-63uqft .imageBlock{margin-bottom:16px;}.css-63uqft .imageBlock__image-align--left,.css-63uqft .videoBlock__video-align--left{float:left;}.css-63uqft .imageBlock__image-align--right,.css-63uqft .videoBlock__video-align--right{float:right;}.css-63uqft .imageBlock__image-align--center,.css-63uqft .videoBlock__video-align--center{display:block;margin-left:auto;margin-right:auto;clear:both;}.css-63uqft .imageBlock__image-align--none,.css-63uqft .videoBlock__video-align--none{clear:both;margin-left:0;margin-right:0;}.css-63uqft .videoBlock__video--wrapper{position:relative;padding-bottom:56.25%;height:0;}.css-63uqft .videoBlock__video--wrapper iframe{position:absolute;top:0;left:0;width:100%;height:100%;}.css-63uqft .videoBlock__caption{text-align:left;}@font-face{font-family:'KaTeX_AMS';src:url(/katex-fonts/KaTeX_AMS-Regular.woff2) format('woff2'),url(/katex-fonts/KaTeX_AMS-Regular.woff) format('woff'),url(/katex-fonts/KaTeX_AMS-Regular.ttf) format('truetype');font-weight:normal;font-style:normal;}@font-face{font-family:'KaTeX_Caligraphic';src:url(/katex-fonts/KaTeX_Caligraphic-Bold.woff2) format('woff2'),url(/katex-fonts/KaTeX_Caligraphic-Bold.woff) format('woff'),url(/katex-fonts/KaTeX_Caligraphic-Bold.ttf) format('truetype');font-weight:bold;font-style:normal;}@font-face{font-family:'KaTeX_Caligraphic';src:url(/katex-fonts/KaTeX_Caligraphic-Regular.woff2) format('woff2'),url(/katex-fonts/KaTeX_Caligraphic-Regular.woff) format('woff'),url(/katex-fonts/KaTeX_Caligraphic-Regular.ttf) format('truetype');font-weight:normal;font-style:normal;}@font-face{font-family:'KaTeX_Fraktur';src:url(/katex-fonts/KaTeX_Fraktur-Bold.woff2) format('woff2'),url(/katex-fonts/KaTeX_Fraktur-Bold.woff) format('woff'),url(/katex-fonts/KaTeX_Fraktur-Bold.ttf) format('truetype');font-weight:bold;font-style:normal;}@font-face{font-family:'KaTeX_Fraktur';src:url(/katex-fonts/KaTeX_Fraktur-Regular.woff2) format('woff2'),url(/katex-fonts/KaTeX_Fraktur-Regular.woff) format('woff'),url(/katex-fonts/KaTeX_Fraktur-Regular.ttf) format('truetype');font-weight:normal;font-style:normal;}@font-face{font-family:'KaTeX_Main';src:url(/katex-fonts/KaTeX_Main-Bold.woff2) format('woff2'),url(/katex-fonts/KaTeX_Main-Bold.woff) format('woff'),url(/katex-fonts/KaTeX_Main-Bold.ttf) format('truetype');font-weight:bold;font-style:normal;}@font-face{font-family:'KaTeX_Main';src:url(/katex-fonts/KaTeX_Main-BoldItalic.woff2) format('woff2'),url(/katex-fonts/KaTeX_Main-BoldItalic.woff) format('woff'),url(/katex-fonts/KaTeX_Main-BoldItalic.ttf) format('truetype');font-weight:bold;font-style:italic;}@font-face{font-family:'KaTeX_Main';src:url(/katex-fonts/KaTeX_Main-Italic.woff2) format('woff2'),url(/katex-fonts/KaTeX_Main-Italic.woff) format('woff'),url(/katex-fonts/KaTeX_Main-Italic.ttf) format('truetype');font-weight:normal;font-style:italic;}@font-face{font-family:'KaTeX_Main';src:url(/katex-fonts/KaTeX_Main-Regular.woff2) format('woff2'),url(/katex-fonts/KaTeX_Main-Regular.woff) format('woff'),url(/katex-fonts/KaTeX_Main-Regular.ttf) format('truetype');font-weight:normal;font-style:normal;}@font-face{font-family:'KaTeX_Math';src:url(/katex-fonts/KaTeX_Math-BoldItalic.woff2) format('woff2'),url(/katex-fonts/KaTeX_Math-BoldItalic.woff) format('woff'),url(/katex-fonts/KaTeX_Math-BoldItalic.ttf) format('truetype');font-weight:bold;font-style:italic;}@font-face{font-family:'KaTeX_Math';src:url(/katex-fonts/KaTeX_Math-Italic.woff2) format('woff2'),url(/katex-fonts/KaTeX_Math-Italic.woff) format('woff'),url(/katex-fonts/KaTeX_Math-Italic.ttf) format('truetype');font-weight:normal;font-style:italic;}@font-face{font-family:'KaTeX_SansSerif';src:url(/katex-fonts/KaTeX_SansSerif-Bold.woff2) format('woff2'),url(/katex-fonts/KaTeX_SansSerif-Bold.woff) format('woff'),url(/katex-fonts/KaTeX_SansSerif-Bold.ttf) format('truetype');font-weight:bold;font-style:normal;}@font-face{font-family:'KaTeX_SansSerif';src:url(/katex-fonts/KaTeX_SansSerif-Italic.woff2) format('woff2'),url(/katex-fonts/KaTeX_SansSerif-Italic.woff) format('woff'),url(/katex-fonts/KaTeX_SansSerif-Italic.ttf) format('truetype');font-weight:normal;font-style:italic;}@font-face{font-family:'KaTeX_SansSerif';src:url(/katex-fonts/KaTeX_SansSerif-Regular.woff2) format('woff2'),url(/katex-fonts/KaTeX_SansSerif-Regular.woff) format('woff'),url(/katex-fonts/KaTeX_SansSerif-Regular.ttf) format('truetype');font-weight:normal;font-style:normal;}@font-face{font-family:'KaTeX_Script';src:url(/katex-fonts/KaTeX_Script-Regular.woff2) format('woff2'),url(/katex-fonts/KaTeX_Script-Regular.woff) format('woff'),url(/katex-fonts/KaTeX_Script-Regular.ttf) format('truetype');font-weight:normal;font-style:normal;}@font-face{font-family:'KaTeX_Size1';src:url(/katex-fonts/KaTeX_Size1-Regular.woff2) format('woff2'),url(/katex-fonts/KaTeX_Size1-Regular.woff) format('woff'),url(/katex-fonts/KaTeX_Size1-Regular.ttf) format('truetype');font-weight:normal;font-style:normal;}@font-face{font-family:'KaTeX_Size2';src:url(/katex-fonts/KaTeX_Size2-Regular.woff2) format('woff2'),url(/katex-fonts/KaTeX_Size2-Regular.woff) format('woff'),url(/katex-fonts/KaTeX_Size2-Regular.ttf) format('truetype');font-weight:normal;font-style:normal;}@font-face{font-family:'KaTeX_Size3';src:url(/katex-fonts/KaTeX_Size3-Regular.woff2) format('woff2'),url(/katex-fonts/KaTeX_Size3-Regular.woff) format('woff'),url(/katex-fonts/KaTeX_Size3-Regular.ttf) format('truetype');font-weight:normal;font-style:normal;}@font-face{font-family:'KaTeX_Size4';src:url(/katex-fonts/KaTeX_Size4-Regular.woff2) format('woff2'),url(/katex-fonts/KaTeX_Size4-Regular.woff) format('woff'),url(/katex-fonts/KaTeX_Size4-Regular.ttf) format('truetype');font-weight:normal;font-style:normal;}@font-face{font-family:'KaTeX_Typewriter';src:url(/katex-fonts/KaTeX_Typewriter-Regular.woff2) format('woff2'),url(/katex-fonts/KaTeX_Typewriter-Regular.woff) format('woff'),url(/katex-fonts/KaTeX_Typewriter-Regular.ttf) format('truetype');font-weight:normal;font-style:normal;}.css-63uqft .katex{font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto;}.css-63uqft .katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor;}.css-63uqft .katex .katex-version::after{content:'0.13.13';}.css-63uqft .katex .katex-mathml{position:absolute;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden;}.css-63uqft .katex .katex-html>.newline{display:block;}.css-63uqft .katex .base{position:relative;display:inline-block;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:-webkit-min-content;width:-moz-min-content;width:min-content;}.css-63uqft .katex .strut{display:inline-block;}.css-63uqft .katex .textbf{font-weight:bold;}.css-63uqft .katex .textit{font-style:italic;}.css-63uqft .katex .textrm{font-family:KaTeX_Main;}.css-63uqft .katex .textsf{font-family:KaTeX_SansSerif;}.css-63uqft .katex .texttt{font-family:KaTeX_Typewriter;}.css-63uqft .katex .mathnormal{font-family:KaTeX_Math;font-style:italic;}.css-63uqft .katex .mathit{font-family:KaTeX_Main;font-style:italic;}.css-63uqft .katex .mathrm{font-style:normal;}.css-63uqft .katex .mathbf{font-family:KaTeX_Main;font-weight:bold;}.css-63uqft .katex .boldsymbol{font-family:KaTeX_Math;font-weight:bold;font-style:italic;}.css-63uqft .katex .amsrm{font-family:KaTeX_AMS;}.css-63uqft .katex .mathbb,.css-63uqft .katex .textbb{font-family:KaTeX_AMS;}.css-63uqft .katex .mathcal{font-family:KaTeX_Caligraphic;}.css-63uqft .katex .mathfrak,.css-63uqft .katex .textfrak{font-family:KaTeX_Fraktur;}.css-63uqft .katex .mathtt{font-family:KaTeX_Typewriter;}.css-63uqft .katex .mathscr,.css-63uqft .katex .textscr{font-family:KaTeX_Script;}.css-63uqft .katex .mathsf,.css-63uqft .katex .textsf{font-family:KaTeX_SansSerif;}.css-63uqft .katex .mathboldsf,.css-63uqft .katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:bold;}.css-63uqft .katex .mathitsf,.css-63uqft .katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic;}.css-63uqft .katex .mainrm{font-family:KaTeX_Main;font-style:normal;}.css-63uqft .katex .vlist-t{display:inline-table;table-layout:fixed;border-collapse:collapse;}.css-63uqft .katex .vlist-r{display:table-row;}.css-63uqft .katex .vlist{display:table-cell;vertical-align:bottom;position:relative;}.css-63uqft .katex .vlist>span{display:block;height:0;position:relative;}.css-63uqft .katex .vlist>span>span{display:inline-block;}.css-63uqft .katex .vlist>span>.pstrut{overflow:hidden;width:0;}.css-63uqft .katex .vlist-t2{margin-right:-2px;}.css-63uqft .katex .vlist-s{display:table-cell;vertical-align:bottom;font-size:1px;width:2px;min-width:2px;}.css-63uqft .katex .vbox{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:baseline;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;}.css-63uqft .katex .hbox{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;width:100%;}.css-63uqft .katex .thinbox{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;width:0;max-width:0;}.css-63uqft .katex .msupsub{text-align:left;}.css-63uqft .katex .mfrac>span>span{text-align:center;}.css-63uqft .katex .mfrac .frac-line{display:inline-block;width:100%;border-bottom-style:solid;}.css-63uqft .katex .mfrac .frac-line,.css-63uqft .katex .overline .overline-line,.css-63uqft .katex .underline .underline-line,.css-63uqft .katex .hline,.css-63uqft .katex .hdashline,.css-63uqft .katex .rule{min-height:1px;}.css-63uqft .katex .mspace{display:inline-block;}.css-63uqft .katex .llap,.css-63uqft .katex .rlap,.css-63uqft .katex .clap{width:0;position:relative;}.css-63uqft .katex .llap>.inner,.css-63uqft .katex .rlap>.inner,.css-63uqft .katex .clap>.inner{position:absolute;}.css-63uqft .katex .llap>.fix,.css-63uqft .katex .rlap>.fix,.css-63uqft .katex .clap>.fix{display:inline-block;}.css-63uqft .katex .llap>.inner{right:0;}.css-63uqft .katex .rlap>.inner,.css-63uqft .katex .clap>.inner{left:0;}.css-63uqft .katex .clap>.inner>span{margin-left:-50%;margin-right:50%;}.css-63uqft .katex .rule{display:inline-block;border:solid 0;position:relative;}.css-63uqft .katex .overline .overline-line,.css-63uqft .katex .underline .underline-line,.css-63uqft .katex .hline{display:inline-block;width:100%;border-bottom-style:solid;}.css-63uqft .katex .hdashline{display:inline-block;width:100%;border-bottom-style:dashed;}.css-63uqft .katex .sqrt>.root{margin-left:0.27777778em;margin-right:-0.55555556em;}.css-63uqft .katex .sizing.reset-size1.size1,.css-63uqft .katex .fontsize-ensurer.reset-size1.size1{font-size:1em;}.css-63uqft .katex .sizing.reset-size1.size2,.css-63uqft .katex .fontsize-ensurer.reset-size1.size2{font-size:1.2em;}.css-63uqft .katex .sizing.reset-size1.size3,.css-63uqft .katex .fontsize-ensurer.reset-size1.size3{font-size:1.4em;}.css-63uqft .katex .sizing.reset-size1.size4,.css-63uqft .katex .fontsize-ensurer.reset-size1.size4{font-size:1.6em;}.css-63uqft .katex .sizing.reset-size1.size5,.css-63uqft .katex .fontsize-ensurer.reset-size1.size5{font-size:1.8em;}.css-63uqft .katex .sizing.reset-size1.size6,.css-63uqft .katex .fontsize-ensurer.reset-size1.size6{font-size:2em;}.css-63uqft .katex .sizing.reset-size1.size7,.css-63uqft .katex .fontsize-ensurer.reset-size1.size7{font-size:2.4em;}.css-63uqft .katex .sizing.reset-size1.size8,.css-63uqft .katex .fontsize-ensurer.reset-size1.size8{font-size:2.88em;}.css-63uqft .katex .sizing.reset-size1.size9,.css-63uqft .katex .fontsize-ensurer.reset-size1.size9{font-size:3.456em;}.css-63uqft .katex .sizing.reset-size1.size10,.css-63uqft .katex .fontsize-ensurer.reset-size1.size10{font-size:4.148em;}.css-63uqft .katex .sizing.reset-size1.size11,.css-63uqft .katex .fontsize-ensurer.reset-size1.size11{font-size:4.976em;}.css-63uqft .katex .sizing.reset-size2.size1,.css-63uqft .katex .fontsize-ensurer.reset-size2.size1{font-size:0.83333333em;}.css-63uqft .katex .sizing.reset-size2.size2,.css-63uqft .katex .fontsize-ensurer.reset-size2.size2{font-size:1em;}.css-63uqft .katex .sizing.reset-size2.size3,.css-63uqft .katex .fontsize-ensurer.reset-size2.size3{font-size:1.16666667em;}.css-63uqft .katex .sizing.reset-size2.size4,.css-63uqft .katex .fontsize-ensurer.reset-size2.size4{font-size:1.33333333em;}.css-63uqft .katex .sizing.reset-size2.size5,.css-63uqft .katex .fontsize-ensurer.reset-size2.size5{font-size:1.5em;}.css-63uqft .katex .sizing.reset-size2.size6,.css-63uqft .katex .fontsize-ensurer.reset-size2.size6{font-size:1.66666667em;}.css-63uqft .katex .sizing.reset-size2.size7,.css-63uqft .katex .fontsize-ensurer.reset-size2.size7{font-size:2em;}.css-63uqft .katex .sizing.reset-size2.size8,.css-63uqft .katex .fontsize-ensurer.reset-size2.size8{font-size:2.4em;}.css-63uqft .katex .sizing.reset-size2.size9,.css-63uqft .katex .fontsize-ensurer.reset-size2.size9{font-size:2.88em;}.css-63uqft .katex .sizing.reset-size2.size10,.css-63uqft .katex .fontsize-ensurer.reset-size2.size10{font-size:3.45666667em;}.css-63uqft .katex .sizing.reset-size2.size11,.css-63uqft .katex .fontsize-ensurer.reset-size2.size11{font-size:4.14666667em;}.css-63uqft .katex .sizing.reset-size3.size1,.css-63uqft .katex .fontsize-ensurer.reset-size3.size1{font-size:0.71428571em;}.css-63uqft .katex .sizing.reset-size3.size2,.css-63uqft .katex .fontsize-ensurer.reset-size3.size2{font-size:0.85714286em;}.css-63uqft .katex .sizing.reset-size3.size3,.css-63uqft .katex .fontsize-ensurer.reset-size3.size3{font-size:1em;}.css-63uqft .katex .sizing.reset-size3.size4,.css-63uqft .katex .fontsize-ensurer.reset-size3.size4{font-size:1.14285714em;}.css-63uqft .katex .sizing.reset-size3.size5,.css-63uqft .katex .fontsize-ensurer.reset-size3.size5{font-size:1.28571429em;}.css-63uqft .katex .sizing.reset-size3.size6,.css-63uqft .katex .fontsize-ensurer.reset-size3.size6{font-size:1.42857143em;}.css-63uqft .katex .sizing.reset-size3.size7,.css-63uqft .katex .fontsize-ensurer.reset-size3.size7{font-size:1.71428571em;}.css-63uqft .katex .sizing.reset-size3.size8,.css-63uqft .katex .fontsize-ensurer.reset-size3.size8{font-size:2.05714286em;}.css-63uqft .katex .sizing.reset-size3.size9,.css-63uqft .katex .fontsize-ensurer.reset-size3.size9{font-size:2.46857143em;}.css-63uqft .katex .sizing.reset-size3.size10,.css-63uqft .katex .fontsize-ensurer.reset-size3.size10{font-size:2.96285714em;}.css-63uqft .katex .sizing.reset-size3.size11,.css-63uqft .katex .fontsize-ensurer.reset-size3.size11{font-size:3.55428571em;}.css-63uqft .katex .sizing.reset-size4.size1,.css-63uqft .katex .fontsize-ensurer.reset-size4.size1{font-size:0.625em;}.css-63uqft .katex .sizing.reset-size4.size2,.css-63uqft .katex .fontsize-ensurer.reset-size4.size2{font-size:0.75em;}.css-63uqft .katex .sizing.reset-size4.size3,.css-63uqft .katex .fontsize-ensurer.reset-size4.size3{font-size:0.875em;}.css-63uqft .katex .sizing.reset-size4.size4,.css-63uqft .katex .fontsize-ensurer.reset-size4.size4{font-size:1em;}.css-63uqft .katex .sizing.reset-size4.size5,.css-63uqft .katex .fontsize-ensurer.reset-size4.size5{font-size:1.125em;}.css-63uqft .katex .sizing.reset-size4.size6,.css-63uqft .katex .fontsize-ensurer.reset-size4.size6{font-size:1.25em;}.css-63uqft .katex .sizing.reset-size4.size7,.css-63uqft .katex .fontsize-ensurer.reset-size4.size7{font-size:1.5em;}.css-63uqft .katex .sizing.reset-size4.size8,.css-63uqft .katex .fontsize-ensurer.reset-size4.size8{font-size:1.8em;}.css-63uqft .katex .sizing.reset-size4.size9,.css-63uqft .katex .fontsize-ensurer.reset-size4.size9{font-size:2.16em;}.css-63uqft .katex .sizing.reset-size4.size10,.css-63uqft .katex .fontsize-ensurer.reset-size4.size10{font-size:2.5925em;}.css-63uqft .katex .sizing.reset-size4.size11,.css-63uqft .katex .fontsize-ensurer.reset-size4.size11{font-size:3.11em;}.css-63uqft .katex .sizing.reset-size5.size1,.css-63uqft .katex .fontsize-ensurer.reset-size5.size1{font-size:0.55555556em;}.css-63uqft .katex .sizing.reset-size5.size2,.css-63uqft .katex .fontsize-ensurer.reset-size5.size2{font-size:0.66666667em;}.css-63uqft .katex .sizing.reset-size5.size3,.css-63uqft .katex .fontsize-ensurer.reset-size5.size3{font-size:0.77777778em;}.css-63uqft .katex .sizing.reset-size5.size4,.css-63uqft .katex .fontsize-ensurer.reset-size5.size4{font-size:0.88888889em;}.css-63uqft .katex .sizing.reset-size5.size5,.css-63uqft .katex .fontsize-ensurer.reset-size5.size5{font-size:1em;}.css-63uqft .katex .sizing.reset-size5.size6,.css-63uqft .katex .fontsize-ensurer.reset-size5.size6{font-size:1.11111111em;}.css-63uqft .katex .sizing.reset-size5.size7,.css-63uqft .katex .fontsize-ensurer.reset-size5.size7{font-size:1.33333333em;}.css-63uqft .katex .sizing.reset-size5.size8,.css-63uqft .katex .fontsize-ensurer.reset-size5.size8{font-size:1.6em;}.css-63uqft .katex .sizing.reset-size5.size9,.css-63uqft .katex .fontsize-ensurer.reset-size5.size9{font-size:1.92em;}.css-63uqft .katex .sizing.reset-size5.size10,.css-63uqft .katex .fontsize-ensurer.reset-size5.size10{font-size:2.30444444em;}.css-63uqft .katex .sizing.reset-size5.size11,.css-63uqft .katex .fontsize-ensurer.reset-size5.size11{font-size:2.76444444em;}.css-63uqft .katex .sizing.reset-size6.size1,.css-63uqft .katex .fontsize-ensurer.reset-size6.size1{font-size:0.5em;}.css-63uqft .katex .sizing.reset-size6.size2,.css-63uqft .katex .fontsize-ensurer.reset-size6.size2{font-size:0.6em;}.css-63uqft .katex .sizing.reset-size6.size3,.css-63uqft .katex .fontsize-ensurer.reset-size6.size3{font-size:0.7em;}.css-63uqft .katex .sizing.reset-size6.size4,.css-63uqft .katex .fontsize-ensurer.reset-size6.size4{font-size:0.8em;}.css-63uqft .katex .sizing.reset-size6.size5,.css-63uqft .katex .fontsize-ensurer.reset-size6.size5{font-size:0.9em;}.css-63uqft .katex .sizing.reset-size6.size6,.css-63uqft .katex .fontsize-ensurer.reset-size6.size6{font-size:1em;}.css-63uqft .katex .sizing.reset-size6.size7,.css-63uqft .katex .fontsize-ensurer.reset-size6.size7{font-size:1.2em;}.css-63uqft .katex .sizing.reset-size6.size8,.css-63uqft .katex .fontsize-ensurer.reset-size6.size8{font-size:1.44em;}.css-63uqft .katex .sizing.reset-size6.size9,.css-63uqft .katex .fontsize-ensurer.reset-size6.size9{font-size:1.728em;}.css-63uqft .katex .sizing.reset-size6.size10,.css-63uqft .katex .fontsize-ensurer.reset-size6.size10{font-size:2.074em;}.css-63uqft .katex .sizing.reset-size6.size11,.css-63uqft .katex .fontsize-ensurer.reset-size6.size11{font-size:2.488em;}.css-63uqft .katex .sizing.reset-size7.size1,.css-63uqft .katex .fontsize-ensurer.reset-size7.size1{font-size:0.41666667em;}.css-63uqft .katex .sizing.reset-size7.size2,.css-63uqft .katex .fontsize-ensurer.reset-size7.size2{font-size:0.5em;}.css-63uqft .katex .sizing.reset-size7.size3,.css-63uqft .katex .fontsize-ensurer.reset-size7.size3{font-size:0.58333333em;}.css-63uqft .katex .sizing.reset-size7.size4,.css-63uqft .katex .fontsize-ensurer.reset-size7.size4{font-size:0.66666667em;}.css-63uqft .katex .sizing.reset-size7.size5,.css-63uqft .katex .fontsize-ensurer.reset-size7.size5{font-size:0.75em;}.css-63uqft .katex .sizing.reset-size7.size6,.css-63uqft .katex .fontsize-ensurer.reset-size7.size6{font-size:0.83333333em;}.css-63uqft .katex .sizing.reset-size7.size7,.css-63uqft .katex .fontsize-ensurer.reset-size7.size7{font-size:1em;}.css-63uqft .katex .sizing.reset-size7.size8,.css-63uqft .katex .fontsize-ensurer.reset-size7.size8{font-size:1.2em;}.css-63uqft .katex .sizing.reset-size7.size9,.css-63uqft .katex .fontsize-ensurer.reset-size7.size9{font-size:1.44em;}.css-63uqft .katex .sizing.reset-size7.size10,.css-63uqft .katex .fontsize-ensurer.reset-size7.size10{font-size:1.72833333em;}.css-63uqft .katex .sizing.reset-size7.size11,.css-63uqft .katex .fontsize-ensurer.reset-size7.size11{font-size:2.07333333em;}.css-63uqft .katex .sizing.reset-size8.size1,.css-63uqft .katex .fontsize-ensurer.reset-size8.size1{font-size:0.34722222em;}.css-63uqft .katex .sizing.reset-size8.size2,.css-63uqft .katex .fontsize-ensurer.reset-size8.size2{font-size:0.41666667em;}.css-63uqft .katex .sizing.reset-size8.size3,.css-63uqft .katex .fontsize-ensurer.reset-size8.size3{font-size:0.48611111em;}.css-63uqft .katex .sizing.reset-size8.size4,.css-63uqft .katex .fontsize-ensurer.reset-size8.size4{font-size:0.55555556em;}.css-63uqft .katex .sizing.reset-size8.size5,.css-63uqft .katex .fontsize-ensurer.reset-size8.size5{font-size:0.625em;}.css-63uqft .katex .sizing.reset-size8.size6,.css-63uqft .katex .fontsize-ensurer.reset-size8.size6{font-size:0.69444444em;}.css-63uqft .katex .sizing.reset-size8.size7,.css-63uqft .katex .fontsize-ensurer.reset-size8.size7{font-size:0.83333333em;}.css-63uqft .katex .sizing.reset-size8.size8,.css-63uqft .katex .fontsize-ensurer.reset-size8.size8{font-size:1em;}.css-63uqft .katex .sizing.reset-size8.size9,.css-63uqft .katex .fontsize-ensurer.reset-size8.size9{font-size:1.2em;}.css-63uqft .katex .sizing.reset-size8.size10,.css-63uqft .katex .fontsize-ensurer.reset-size8.size10{font-size:1.44027778em;}.css-63uqft .katex .sizing.reset-size8.size11,.css-63uqft .katex .fontsize-ensurer.reset-size8.size11{font-size:1.72777778em;}.css-63uqft .katex .sizing.reset-size9.size1,.css-63uqft .katex .fontsize-ensurer.reset-size9.size1{font-size:0.28935185em;}.css-63uqft .katex .sizing.reset-size9.size2,.css-63uqft .katex .fontsize-ensurer.reset-size9.size2{font-size:0.34722222em;}.css-63uqft .katex .sizing.reset-size9.size3,.css-63uqft .katex .fontsize-ensurer.reset-size9.size3{font-size:0.40509259em;}.css-63uqft .katex .sizing.reset-size9.size4,.css-63uqft .katex .fontsize-ensurer.reset-size9.size4{font-size:0.46296296em;}.css-63uqft .katex .sizing.reset-size9.size5,.css-63uqft .katex .fontsize-ensurer.reset-size9.size5{font-size:0.52083333em;}.css-63uqft .katex .sizing.reset-size9.size6,.css-63uqft .katex .fontsize-ensurer.reset-size9.size6{font-size:0.5787037em;}.css-63uqft .katex .sizing.reset-size9.size7,.css-63uqft .katex .fontsize-ensurer.reset-size9.size7{font-size:0.69444444em;}.css-63uqft .katex .sizing.reset-size9.size8,.css-63uqft .katex .fontsize-ensurer.reset-size9.size8{font-size:0.83333333em;}.css-63uqft .katex .sizing.reset-size9.size9,.css-63uqft .katex .fontsize-ensurer.reset-size9.size9{font-size:1em;}.css-63uqft .katex .sizing.reset-size9.size10,.css-63uqft .katex .fontsize-ensurer.reset-size9.size10{font-size:1.20023148em;}.css-63uqft .katex .sizing.reset-size9.size11,.css-63uqft .katex .fontsize-ensurer.reset-size9.size11{font-size:1.43981481em;}.css-63uqft .katex .sizing.reset-size10.size1,.css-63uqft .katex .fontsize-ensurer.reset-size10.size1{font-size:0.24108004em;}.css-63uqft .katex .sizing.reset-size10.size2,.css-63uqft .katex .fontsize-ensurer.reset-size10.size2{font-size:0.28929605em;}.css-63uqft .katex .sizing.reset-size10.size3,.css-63uqft .katex .fontsize-ensurer.reset-size10.size3{font-size:0.33751205em;}.css-63uqft .katex .sizing.reset-size10.size4,.css-63uqft .katex .fontsize-ensurer.reset-size10.size4{font-size:0.38572806em;}.css-63uqft .katex .sizing.reset-size10.size5,.css-63uqft .katex .fontsize-ensurer.reset-size10.size5{font-size:0.43394407em;}.css-63uqft .katex .sizing.reset-size10.size6,.css-63uqft .katex .fontsize-ensurer.reset-size10.size6{font-size:0.48216008em;}.css-63uqft .katex .sizing.reset-size10.size7,.css-63uqft .katex .fontsize-ensurer.reset-size10.size7{font-size:0.57859209em;}.css-63uqft .katex .sizing.reset-size10.size8,.css-63uqft .katex .fontsize-ensurer.reset-size10.size8{font-size:0.69431051em;}.css-63uqft .katex .sizing.reset-size10.size9,.css-63uqft .katex .fontsize-ensurer.reset-size10.size9{font-size:0.83317261em;}.css-63uqft .katex .sizing.reset-size10.size10,.css-63uqft .katex .fontsize-ensurer.reset-size10.size10{font-size:1em;}.css-63uqft .katex .sizing.reset-size10.size11,.css-63uqft .katex .fontsize-ensurer.reset-size10.size11{font-size:1.19961427em;}.css-63uqft .katex .sizing.reset-size11.size1,.css-63uqft .katex .fontsize-ensurer.reset-size11.size1{font-size:0.20096463em;}.css-63uqft .katex .sizing.reset-size11.size2,.css-63uqft .katex .fontsize-ensurer.reset-size11.size2{font-size:0.24115756em;}.css-63uqft .katex .sizing.reset-size11.size3,.css-63uqft .katex .fontsize-ensurer.reset-size11.size3{font-size:0.28135048em;}.css-63uqft .katex .sizing.reset-size11.size4,.css-63uqft .katex .fontsize-ensurer.reset-size11.size4{font-size:0.32154341em;}.css-63uqft .katex .sizing.reset-size11.size5,.css-63uqft .katex .fontsize-ensurer.reset-size11.size5{font-size:0.36173633em;}.css-63uqft .katex .sizing.reset-size11.size6,.css-63uqft .katex .fontsize-ensurer.reset-size11.size6{font-size:0.40192926em;}.css-63uqft .katex .sizing.reset-size11.size7,.css-63uqft .katex .fontsize-ensurer.reset-size11.size7{font-size:0.48231511em;}.css-63uqft .katex .sizing.reset-size11.size8,.css-63uqft .katex .fontsize-ensurer.reset-size11.size8{font-size:0.57877814em;}.css-63uqft .katex .sizing.reset-size11.size9,.css-63uqft .katex .fontsize-ensurer.reset-size11.size9{font-size:0.69453376em;}.css-63uqft .katex .sizing.reset-size11.size10,.css-63uqft .katex .fontsize-ensurer.reset-size11.size10{font-size:0.83360129em;}.css-63uqft .katex .sizing.reset-size11.size11,.css-63uqft .katex .fontsize-ensurer.reset-size11.size11{font-size:1em;}.css-63uqft .katex .delimsizing.size1{font-family:KaTeX_Size1;}.css-63uqft .katex .delimsizing.size2{font-family:KaTeX_Size2;}.css-63uqft .katex .delimsizing.size3{font-family:KaTeX_Size3;}.css-63uqft .katex .delimsizing.size4{font-family:KaTeX_Size4;}.css-63uqft .katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1;}.css-63uqft .katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4;}.css-63uqft .katex .nulldelimiter{display:inline-block;width:0.12em;}.css-63uqft .katex .delimcenter{position:relative;}.css-63uqft .katex .op-symbol{position:relative;}.css-63uqft .katex .op-symbol.small-op{font-family:KaTeX_Size1;}.css-63uqft .katex .op-symbol.large-op{font-family:KaTeX_Size2;}.css-63uqft .katex .op-limits>.vlist-t{text-align:center;}.css-63uqft .katex .accent>.vlist-t{text-align:center;}.css-63uqft .katex .accent .accent-body{position:relative;}.css-63uqft .katex .accent .accent-body:not(.accent-full){width:0;}.css-63uqft .katex .overlay{display:block;}.css-63uqft .katex .mtable .vertical-separator{display:inline-block;min-width:1px;}.css-63uqft .katex .mtable .arraycolsep{display:inline-block;}.css-63uqft .katex .mtable .col-align-c>.vlist-t{text-align:center;}.css-63uqft .katex .mtable .col-align-l>.vlist-t{text-align:left;}.css-63uqft .katex .mtable .col-align-r>.vlist-t{text-align:right;}.css-63uqft .katex .svg-align{text-align:left;}.css-63uqft .katex svg{display:block;position:absolute;width:100%;height:inherit;fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;}.css-63uqft .katex svg path{stroke:none;}.css-63uqft .katex img{border-style:none;min-width:0;min-height:0;max-width:none;max-height:none;}.css-63uqft .katex .stretchy{width:100%;display:block;position:relative;overflow:hidden;}.css-63uqft .katex .stretchy::before,.css-63uqft .katex .stretchy::after{content:'';}.css-63uqft .katex .hide-tail{width:100%;position:relative;overflow:hidden;}.css-63uqft .katex .halfarrow-left{position:absolute;left:0;width:50.2%;overflow:hidden;}.css-63uqft .katex .halfarrow-right{position:absolute;right:0;width:50.2%;overflow:hidden;}.css-63uqft .katex .brace-left{position:absolute;left:0;width:25.1%;overflow:hidden;}.css-63uqft .katex .brace-center{position:absolute;left:25%;width:50%;overflow:hidden;}.css-63uqft .katex .brace-right{position:absolute;right:0;width:25.1%;overflow:hidden;}.css-63uqft .katex .x-arrow-pad{padding:0 0.5em;}.css-63uqft .katex .cd-arrow-pad{padding:0 0.55556em 0 0.27778em;}.css-63uqft .katex .x-arrow,.css-63uqft .katex .mover,.css-63uqft .katex .munder{text-align:center;}.css-63uqft .katex .boxpad{padding:0 0.3em 0 0.3em;}.css-63uqft .katex .fbox,.css-63uqft .katex .fcolorbox{box-sizing:border-box;border:0.04em solid;}.css-63uqft .katex .cancel-pad{padding:0 0.2em 0 0.2em;}.css-63uqft .katex .cancel-lap{margin-left:-0.2em;margin-right:-0.2em;}.css-63uqft .katex .sout{border-bottom-style:solid;border-bottom-width:0.08em;}.css-63uqft .katex .angl{box-sizing:border-box;border-top:0.049em solid;border-right:0.049em solid;margin-right:0.03889em;}.css-63uqft .katex .anglpad{padding:0 0.03889em 0 0.03889em;}.css-63uqft .katex .eqn-num::before{counter-increment:katexEqnNo;content:'(' counter(katexEqnNo) ')';}.css-63uqft .katex .mml-eqn-num::before{counter-increment:mmlEqnNo;content:'(' counter(mmlEqnNo) ')';}.css-63uqft .katex .mtr-glue{width:50%;}.css-63uqft .katex .cd-vert-arrow{display:inline-block;position:relative;}.css-63uqft .katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + 0.3em);text-align:left;}.css-63uqft .katex .cd-label-right{display:inline-block;position:absolute;left:calc(50% + 0.3em);text-align:right;}.css-63uqft .katex-display{display:block;margin:1em 0;text-align:center;}.css-63uqft .katex-display>.katex{display:block;white-space:nowrap;}.css-63uqft .katex-display>.katex>.katex-html{display:block;position:relative;}.css-63uqft .katex-display>.katex>.katex-html>.tag{position:absolute;right:0;}.css-63uqft .katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto;}.css-63uqft .katex-display.fleqn>.katex{text-align:left;padding-left:2em;}.css-63uqft body{counter-reset:katexEqnNo mmlEqnNo;}.css-63uqft table{width:-webkit-max-content;width:-moz-max-content;width:max-content;}.css-63uqft .tableBlock{max-width:100%;margin-bottom:1rem;overflow-y:scroll;}.css-63uqft .tableBlock thead,.css-63uqft .tableBlock thead th{border-bottom:1px solid #333!important;}.css-63uqft .tableBlock th,.css-63uqft .tableBlock td{padding:10px;text-align:left;}.css-63uqft .tableBlock th{font-weight:bold!important;}.css-63uqft .tableBlock caption{caption-side:bottom;color:#555;font-size:12px;font-style:italic;text-align:center;}.css-63uqft .tableBlock caption>p{margin:0;}.css-63uqft .tableBlock th>p,.css-63uqft .tableBlock td>p{margin:0;}.css-63uqft .tableBlock [data-background-color='aliceblue']{background-color:#f0f8ff;color:#000;}.css-63uqft .tableBlock [data-background-color='black']{background-color:#000;color:#fff;}.css-63uqft .tableBlock [data-background-color='chocolate']{background-color:#d2691e;color:#fff;}.css-63uqft .tableBlock [data-background-color='cornflowerblue']{background-color:#6495ed;color:#fff;}.css-63uqft .tableBlock [data-background-color='crimson']{background-color:#dc143c;color:#fff;}.css-63uqft .tableBlock [data-background-color='darkblue']{background-color:#00008b;color:#fff;}.css-63uqft .tableBlock [data-background-color='darkseagreen']{background-color:#8fbc8f;color:#000;}.css-63uqft .tableBlock [data-background-color='deepskyblue']{background-color:#00bfff;color:#000;}.css-63uqft .tableBlock [data-background-color='gainsboro']{background-color:#dcdcdc;color:#000;}.css-63uqft .tableBlock [data-background-color='grey']{background-color:#808080;color:#fff;}.css-63uqft .tableBlock [data-background-color='lemonchiffon']{background-color:#fffacd;color:#000;}.css-63uqft .tableBlock [data-background-color='lightpink']{background-color:#ffb6c1;color:#000;}.css-63uqft .tableBlock [data-background-color='lightsalmon']{background-color:#ffa07a;color:#000;}.css-63uqft .tableBlock [data-background-color='lightskyblue']{background-color:#87cefa;color:#000;}.css-63uqft .tableBlock [data-background-color='mediumblue']{background-color:#0000cd;color:#fff;}.css-63uqft .tableBlock [data-background-color='omnigrey']{background-color:#f0f0f0;color:#000;}.css-63uqft .tableBlock [data-background-color='white']{background-color:#fff;color:#000;}.css-63uqft .tableBlock [data-text-align='center']{text-align:center;}.css-63uqft .tableBlock [data-text-align='left']{text-align:left;}.css-63uqft .tableBlock [data-text-align='right']{text-align:right;}.css-63uqft .tableBlock [data-vertical-align='bottom']{vertical-align:bottom;}.css-63uqft .tableBlock [data-vertical-align='middle']{vertical-align:middle;}.css-63uqft .tableBlock [data-vertical-align='top']{vertical-align:top;}.css-63uqft .tableBlock__font-size--xxsmall{font-size:10px;}.css-63uqft .tableBlock__font-size--xsmall{font-size:12px;}.css-63uqft .tableBlock__font-size--small{font-size:14px;}.css-63uqft .tableBlock__font-size--large{font-size:18px;}.css-63uqft .tableBlock__border--some tbody tr:not(:last-child){border-bottom:1px solid #e2e5e7;}.css-63uqft .tableBlock__border--bordered td,.css-63uqft .tableBlock__border--bordered th{border:1px solid #e2e5e7;}.css-63uqft .tableBlock__border--borderless tbody+tbody,.css-63uqft .tableBlock__border--borderless td,.css-63uqft .tableBlock__border--borderless th,.css-63uqft .tableBlock__border--borderless tr,.css-63uqft .tableBlock__border--borderless thead,.css-63uqft .tableBlock__border--borderless thead th{border:0!important;}.css-63uqft .tableBlock:not(.tableBlock__table-striped) tbody tr{background-color:unset!important;}.css-63uqft .tableBlock__table-striped tbody tr:nth-of-type(odd){background-color:#f9fafc!important;}.css-63uqft .tableBlock__table-compactl th,.css-63uqft .tableBlock__table-compact td{padding:3px!important;}.css-63uqft .tableBlock__full-size{width:100%;}.css-63uqft .textBlock{margin-bottom:16px;}.css-63uqft .textBlock__text-formatting--finePrint{font-size:12px;}.css-63uqft .textBlock__text-infoBox{padding:0.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:0.25rem;}.css-63uqft .textBlock__text-infoBox p{margin:0;}.css-63uqft .textBlock__text-infoBox--primary{background-color:#cce5ff;border-color:#b8daff;color:#004085;}.css-63uqft .textBlock__text-infoBox--secondary{background-color:#e2e3e5;border-color:#d6d8db;color:#383d41;}.css-63uqft .textBlock__text-infoBox--success{background-color:#d4edda;border-color:#c3e6cb;color:#155724;}.css-63uqft .textBlock__text-infoBox--danger{background-color:#f8d7da;border-color:#f5c6cb;color:#721c24;}.css-63uqft .textBlock__text-infoBox--warning{background-color:#fff3cd;border-color:#ffeeba;color:#856404;}.css-63uqft .textBlock__text-infoBox--info{background-color:#d1ecf1;border-color:#bee5eb;color:#0c5460;}.css-63uqft .textBlock__text-infoBox--dark{background-color:#d6d8d9;border-color:#c6c8ca;color:#1b1e21;}.css-63uqft .text-overline{-webkit-text-decoration:overline;text-decoration:overline;}.css-63uqft.css-63uqft{color:#2B3148;background-color:transparent;font-family:var(--calculator-ui-font-family),Verdana,sans-serif;font-size:20px;line-height:24px;overflow:visible;padding-top:0px;position:relative;}.css-63uqft.css-63uqft:after{content:'';-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);transform:scale(0);position:absolute;border:2px solid #EA9430;border-radius:2px;inset:-8px;z-index:1;}.css-63uqft .js-external-link-button.link-like,.css-63uqft .js-external-link-anchor{color:inherit;border-radius:1px;-webkit-text-decoration:underline;text-decoration:underline;}.css-63uqft .js-external-link-button.link-like:hover,.css-63uqft .js-external-link-anchor:hover,.css-63uqft .js-external-link-button.link-like:active,.css-63uqft .js-external-link-anchor:active{text-decoration-thickness:2px;text-shadow:1px 0 0;}.css-63uqft .js-external-link-button.link-like:focus-visible,.css-63uqft .js-external-link-anchor:focus-visible{outline:transparent 2px dotted;box-shadow:0 0 0 2px #6314E6;}.css-63uqft p,.css-63uqft div{margin:0;display:block;}.css-63uqft pre{margin:0;display:block;}.css-63uqft pre code{display:block;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}.css-63uqft pre:not(:first-child){padding-top:8px;}.css-63uqft ul,.css-63uqft ol{display:block margin:0;padding-left:20px;}.css-63uqft ul li,.css-63uqft ol li{padding-top:8px;}.css-63uqft ul ul,.css-63uqft ol ul,.css-63uqft ul ol,.css-63uqft ol ol{padding-top:0;}.css-63uqft ul:not(:first-child),.css-63uqft ol:not(:first-child){padding-top:4px;} Plan a trip and fuel costs

Fuel consumption of 20 miles per gallon (US). If you can't find your car or the fuel consumption is different, select the "Other vehicle" option instead.

Cost of the trip

Division of payment

Number of people

Cost per person

Your engine's specifications, age, and condition can affect its fuel economy, so... your mileage may vary . Select the "Other vehicle" (in the first field) to enter a custom fuel economy.

TollGuru Logo

  • Toll Calculator
  • Toll API pricing
  • Toll calculator pricing
  • Toll API - Get started
  • Toll API docs
  • Get API key

Gas Calculator – Road Trip Gas Expenses on Google Maps

Looking for how much gas costs on your next trip? Use the Gas Calculator!

Planning a road trip , a delivery, or a dispatch ? Get toll charges, fuel expenses, total travel costs, state miles, and toll miles. Find the cheapest toll routes and rates whether paying with E-ZPass, toll transponders, cash, or license plate tolling across the United States. Fleets? Integrate Toll API for pre-trip route optimization, on-trip and post-trip toll, and route information.

Enter the start point, destination, vehicle type, and payment method. The toll calculator provides a toll breakdown, total toll costs, fuel estimates, and rates for each US toll road, turnpike, express lane, bridge, and tunnel - including cash rates, E-ZPass discounts, pay-by-plate tolls, and more.

Select Vehicle Type

Departure Time

  • Payment Options: Calculate toll costs for cash, E-ZPass, I-Pass, TxTag & more.
  • Interactive Toll Plaza Map: View toll plazas along highway or turnpike route.
  • Cheapest vs Fastest Routes: Choose the cheapest or quickest toll route.
  • Cost Breakdown: Get itemized toll costs, fuel expenses & other trip charges.
  • Filter by Vehicle Type: See personalized toll rates for cars, trucks, RVs & EVs.
  • Truck Toll Routing: Get truck-legal routes with parking & break stops.
  • Truck State Mileage: Get state mileage and toll miles for compliance.
  • Multi-Stop Optimization: Reorder stops for efficient multi-destination trips.
  • EV Trip Planner: Locate EV charging stations, costs & connector types.

Us Toll Guide

  • How do tolls work in the USA
  • Which states do not have toll roads?
  • Can I pay US tolls with a credit card?
  • How do you pay tolls in USA?
  • Which toll passes/ toll tags work in all states?
  • Is E-ZPass good in all states?

TollGuru toll calculator has extensive coverage of all US tolls - Pennsylvania Turnpike, Ohio Turnpike, commercial trucks, rental car tolls, and everything in between. Get vehicle-specific toll pricing for trucks, cars, taxis, RVs, EVs, etc.

Other toll calculators

New York Toll Calculator

New Jersey Toll Calculator

Illinois Toll Calculator

Texas Toll Calculator

Maryland Toll Calculator

Virginia Toll Calculator

Florida Toll Calculator

Massachusetts Toll Calculator

California Toll Calculator

Pennsylvania Toll Calculator

Colordao Toll Calculator

Delaware Toll Calculator

Canada Toll Calculator

Mexico Toll Calculator

Australia Toll Calculator

India Toll Calculator

Argentina Toll Calculator

Peru Toll Calculator

Europe Toll Calculator

Russia Toll Calculator

UK Toll Calculator

France Toll Calculator

Italy Toll Calculator

Germany Toll Calculator

US Toll Calculator - How to Use Toll Calculator | TollGuru

The roadtrip app icon

  • AI Travel Planner
  • UK Petrol Prices
  • Get the app

Simple Fuel Calculator

gasoline trip calculator

Planning a road trip can be an exhilarating adventure, but amidst the excitement, it's essential not to overlook the practical aspects, particularly budgeting for fuel costs. Whether you're cruising the coastlines, exploring the vast outback, or navigating the scenic routes of the countryside, understanding the fuel expenditure for your journey is crucial. That's where a simple, yet powerful tool comes into play - the fuel calculator. This ingenious tool is designed to help you estimate the gas or petrol cost for your car road trip effortlessly.

The Importance of Fuel Cost Estimation

Fuel expenses can consume a significant portion of your road trip budget, especially with fluctuating fuel prices and long distances. By accurately calculating these costs beforehand, you can plan your budget more effectively, ensuring that your adventure is both enjoyable and financially manageable.

Introducing the Fuel Calculator

The fuel calculator is a user-friendly tool that simplifies the process of estimating your trip's fuel costs. To use it, you only need three pieces of information: the distance you're traveling, the current fuel price, and your car's fuel efficiency (miles per gallon or MPG).

How It Works

  • Enter the Distance : Start by inputting the total distance of your road trip. This could be from your home to your destination and back, or the cumulative distance of various stops along the way.
  • Fuel Price : Next, enter the current price of fuel. Since fuel prices can vary by location, using an average price or the price in your departure area is advisable.
  • Car's MPG : Lastly, input your car's fuel efficiency. You can find this information in your car's manual or online if you're unsure.

With these three inputs, the fuel calculator does the math, providing you with an estimated fuel cost for your entire journey. This calculation considers the distance to be covered, the fuel efficiency of your vehicle, and the current fuel prices, offering you a clear insight into the expected fuel expenditure.

Why It's a Game-Changer for Road Trippers

  • Budget-Friendly Planning : Knowing your fuel costs in advance helps you budget more accurately, allowing for better financial planning of your trip.
  • Flexibility : If the estimated fuel cost is higher than anticipated, you can adjust your plans accordingly, whether by shortening the trip, selecting a more fuel-efficient vehicle, or finding ways to save on fuel.
  • Ease of Use : The simplicity of entering just three values makes this tool accessible to everyone, regardless of technical expertise.

Real-World Application

Imagine planning a road trip from Los Angeles to San Francisco, a distance of approximately 380 miles. If fuel prices are averaging $4 per gallon and your car averages 30 MPG, the fuel calculator will estimate your total fuel cost for the trip. This straightforward calculation can be the difference between a well-budgeted adventure and an unexpectedly expensive journey.

In an era where fuel prices are unpredictable, having a reliable tool to estimate travel costs is indispensable for any road tripper. The simple fuel calculator empowers you to make informed decisions, ensuring your journey is not just about the destinations you explore but also about smart, budget-conscious travel. So, before you hit the road, take a moment to calculate your fuel costs—it could be the key to a more enjoyable and affordable adventure.

gasoline trip calculator

  • Article Index

Fuel Cost Calculator

  • MPG Calculator

Welcome to fuel cost calculator .

This is our website about calculating the fuel cost depending on the distance traveled, the fuel consumption or the fuel efficiency, and the fuel price.

The fuel consumption expresses units of fuel per fixed distance, e.g. L/100km, whereas the fuel economy expresses units of distance per fixed fuel unit, e.g. MPG.

The fuel cost is equal to the distance multiplied by the gas price, divided by the fuel efficiency or multiplied by the fuel consumption:

Fuel Cost = (Distance × Fuel Price) / Fuel Efficiency or Fuel Cost = (Distance × Fuel Price) × Fuel Consumption.

We recommend using our fuel cost calculator right below:

Using our fuel cost calculator is straightforward, once all three entries have been made the result is displayed automatically.

To start over press reset , or overwrite the numbers.

If you use our formulas above, then make sure to get the units right, something which our calculator does automatically for you, even if you mix English and metric units.

And if you are happy with our fuel cost calculator, then make sure to bookmark it now and to press the share buttons to let your friends know about our site and calculator.

Trip Fuel Cost Calculator

Our trip fuel cost calculator above can be used with liters, kilometer, miles and gallons.

You can use it with the unit imperial gallon defined as 4.54609 liters or with the unit US liquid gallon of 3.785411784 liters, just be consistent when combining MPG with a fuel price in gallons.

Thus, if you have been looking for fuel cost calculator UK , then you have come to the right website, too.

The same is true if you googled for trip fuel cost calculator for example.

Needless to say the currency does not enter the calculation, and that for round trips you have to double the distance; our fuel cost calculator does the math for one way by default.

Below you can find our search conversions form .

With that form you can locate many fuel efficiency and fuel consumption conversions. Give it a try now!

The conversions of units are based on these formulas:

  • Miles per US gallon to L/100 km: 235.214583 / [US MPG] = [L/100km]
  • Miles per UK gallon to L/100 km: 282.481053 / [UK MPG] = [L/100km]
  • L/100km to Miles per US gallon: 235.214583 / [L/100km] = [US MPG]
  • L/100km to Miles per UK gallon: 282.481053 / [L/100km] = [UK MPG]
  • Miles per US gallon to Km/L: [US MPG] / 235.214583 = [Km/L]
  • Miles per UK gallon to Km/L: [UK MPG] / 282.481053 = [Km/L]
  • Km/L to Miles per US gallon: [[Km/L] * 235.214583 = [US MPG]
  • Km/L to Miles per UK gallon: [Km/L] * 282.481053 = [UK MPG]

For precise conversions you have to use 235.21458 3 instead of 235, and in place of 282 use 282.48093633182215859381213711922; for Km/L you have to divide these numbers by 100.

You have reached the end of fuel cost calculator .

This image sums it all up:

Our frequent calculations include:

  • 1 Liters per 100 Km to MPG
  • 50 Liters per 100 Km to MPG
  • 40 Liters per 100 Km to MPG

For questions, comments and all other feedback about our site or content use the form below or get in touch with us by sending an email. Thanks for your visit.

More Information:

  • Gallon to liter
  • Kilometers to miles
  • Fuel economy in automobiles on Wikipedia

Leave a Reply Cancel reply

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

Email me when someone replies to my comment

{{#message}}{{{message}}}{{/message}}{{^message}}Your submission failed. The server responded with {{status_text}} (code {{status_code}}). Please contact the developer of this form processor to improve this message. Learn More {{/message}}

{{#message}}{{{message}}}{{/message}}{{^message}}It appears your submission was successful. Even though the server responded OK, it is possible the submission was not processed. Please contact the developer of this form processor to improve this message. Learn More {{/message}}

Submitting…

Calculator Soup Logo

Calculator   Soup ®

Online Calculators

Gas Mileage Calculator

Calculator use.

Calculate fuel economy in automobiles in US or Metric units. Calculate vehicle fuel economy in mpg US (miles per US gallon), mpg Imp (miles per Imperial gallon), km/l (kilometers per liter) or fuel consumption in l/100km (liters per 100 kilometers).  Equivalent fuel economy/efficiency ratings are converted and shown for all units, mpg US , mpg Imp , km/l and l/100km .

  • mpg = miles per gallon
  • mpg US = miles per United States gallon
  • mpg Imp = miles per Imperial gallon
  • km/l = kilometers per liter
  • l/100km = liters per 100 kilometers

How to Calculate Miles per Gallon or Kilometers per Liter

When you calculate miles/gallon (mpg) or kilometers/liter (km/l) you are calculating fuel economy in terms of distance per unit volume or distance/volume. The following outline is generally applicable to both calculations. When you calculate liters per 100 kilometers (l/100km) you are calculating volume per 100 units of distance.

If you track your gas usage you can evaluate your vehicle's fuel economy. This is how to calculate your mpg or your km/l yourself.

  • Fill up your tank with fuel before you start a long trip or the block of time you want to track. For example, you may just want to track your weekly gas usage.
  • Record the trip starting odometer reading at the time you fill up.
  • Record the number of gallons or liters required to fill the tank once again. This is the total number of gallons or liters you used for the trip (or the time period).
  • Record the trip ending odometer reading (this might also be the starting reading for your next trip).
  • Ending Odometer Reading minus Starting Odometer Reading equals miles or kilometers traveled
  • End - Start = Miles or Kilometers traveled
  • Miles driven ÷ gallons used = miles per gallon = mpg
  • Kilometers driven ÷ liters used = kilometers per liter = km/l

Gas Rate (or Fuel Rate)

What is it costing you in gas per mile?  Enter the price per gallon.  Gas rate = price per gallon divided by miles per gallon = price per mile .

What is it costing you in fuel per kilometer?  Enter the price per liter.  Fuel rate = price per liter divided by kilometers per liter = price per kilometer .

Mileage Rate (or Kilometer Rate)

Enter a price per mile or price per kilometer to calculate the total charge incurred on this trip.  This may be helpful for expense, tax deductions or lease-related calculations; in some situations you will be given or allowed a cost per unit mile or kilometer to cover the expense of using a vehicle.

How to Calculate Liters per Kilometers (l/100km)

When you calculate liters per 100 kilometers (l/100km) you are calculating volume per 100 units of distance, or fuel consumption rate.

  • Fill up your tank with fuel before you start a long trip or the block of time you want to track.
  • Record the number of liters required to fill the tank. This is the total number of liters you used for the trip.
  • Ending Odometer Reading minus Starting Odometer Reading equals total kilometers
  • End - Start = Kilometers
  • 100 * liters used ÷ kilometers driven = liters per 100 kilometers = l/100km

Cite this content, page or calculator as:

Furey, Edward " Gas Mileage Calculator " at https://www.calculatorsoup.com/calculators/tools/gas-mileage-calculator.php from CalculatorSoup, https://www.calculatorsoup.com - Online Calculators

Last updated: October 7, 2023

  • Your current location

Your route preferences

Price per liter.

Mileage Calculator

Use the following mileage calculator to determine the travel distance, in terms of miles, and time taken by car to travel between two locations in the United States, disregarding traffic conditions.

U.S. Department of Energy - Energy Efficiency and Renewable Energy

Fuel Economy Home Page

2024–2025Fuel Economy Estimates Now Available! Includes plug-in hybrid and electric vehicles.  Fuel economy leaders lists. More vehicles added weekly

Find & Compare Cars

Woman shopping for new car

  • Compare Side-by-Side
  • Power Search

Refueling vehicle

  • Calculate or Share Your MPG
  • Estimates from Drivers Like You

Save Money

  • Gas Mileage Tips
  • Fuel Cost Calculator
  • Find the Cheapest Gas

Hybrids & Electrics

Charging a car

  • Plug-in Hybrids
  • All-Electric Vehicles

Calculators and Other Tools

  • Fuel Savings Calculator
  • Trip Calculator
  • Used Car Label Tool
  • Developer Tools
  • Find a Car Widget
  • GHG Emissions Calculator
  • Can a Hybrid Save Me Money?
  • My Plug-in Hybrid Calculator

New on fueleconomy.gov…

  • 2024 Fuel Economy Guide
  • 2024 Best and Worst Fuel Economy
  • 2024 Top Ten Vehicle Lists
  • 2024–25 Fuel Economy Data
  • New federal tax credits for clean vehicles

Quick Picks

  • Top 10 - Most Efficient Vehicles
  • Compare Old vs. New EPA MPG
  • Find a SmartWay Vehicle
  • Extreme MPG

Related Links

  • VW, Bentley, Audi and Porsche MPG Estimates Revised
  • Clean Cities and Communities
  • Vehicle Cost Calculator
  • Station Locator
  • EV Explorer

This website is administered by Oak Ridge National Laboratory for the U.S. Department of Energy and the U.S. Environmental Protection Agency.

This website is administered by Oak Ridge National Laboratory for the U.S. DOE and the U.S. EPA.

Site modified: Monday August 26 2024

IMAGES

  1. Trip Fuel Cost Calculator

    gasoline trip calculator

  2. Calculate the total gas cost of your next road-trip and save using

    gasoline trip calculator

  3. Gas Calculator

    gasoline trip calculator

  4. Planning A Trip? EPA's Fuel Calculator Predicts Your Gas Bill

    gasoline trip calculator

  5. Gas Mileage Calculator

    gasoline trip calculator

  6. Trip gas mileage calculator

    gasoline trip calculator

COMMENTS

  1. Fuel Economy Trip Calculator

    In Step 2, you will enter the trip details including starting point, intermediate stops, and destination. You will be able to modify the route by dragging the route line on the map. The Trip Vehicles section above will be updated with the cost of fuel for the trip.

  2. Gas Trip Calculator. Find lowest fuel prices & save

    With over 150,000 gas stations nationwide in the GasBuddy network, you can get up-to-date changes on gas prices. Calculate the gas cost for your trip accurately and with ease by using GasBuddy. Beyond the Trip Cost Calculator: How to Save on Gas Money by Using GasBuddy. Looking for the best deals and savings on gas around? Join the club and get ...

  3. Fuel Cost Calculator

    Fuel Cost Calculator. This calculator can estimate fuel cost according to the distance of a trip, the fuel efficiency of the car, and the price of gas using various units. The price of gas may go up or down, but it's always a major expense for most drivers. The average American driver spends about $3,000 per year on gas, according to the ...

  4. AAA GAS COST CALCULATOR

    Fuel Saving Tips. Fuel Quality. Premium Fuel Research. Top Trends. Contact AAA. Today's AAA National Average $3.350. Price as of 8/27/24. AAA GAS COST CALCULATOR. Today's AAA.

  5. Cost of Driving Calculator

    Travelmath provides an online driving cost calculator to help you determine how much you'll spend on gas for your next road trip. You can enter airports, cities, states, countries, or zip codes to compute the cost of driving between locations. Driving distances are calculated using actual driving directions if they are available, or a GPS ...

  6. Fuel Calculator ⛽

    Fuel Needed & Fuel Cost Calculations. In order to calculate the amount of fuel for a given trip using our fuel cost calculator or otherwise, you need to know the total distance you will be covering and the expected average fuel consumption of your vehicle. It works the same way for cars, trucks, buses, vans, SUVs, and even boats and planes.

  7. Travel Cost Calculator

    Trip pricing calculator. Travelmath provides an online cost calculator to help you determine the cost of driving between cities. You can use this data to figure out a budget for a road trip. The driving calculation is based on the average fuel efficiency of your vehicle, and you can change the gas mileage in mpg or L/100 km to match your exact ...

  8. Fuel Cost Calculator

    At fuel cost calculator, you can use our free gas estimator to help you estimate the total costs on gas and plan accordingly. How the fuel cost calculator works? The fuel cost calculator uses the trip distance, miles per gallon, and the current gas price to calculate the total cost when you travel from one location to another. 1.

  9. Gas Cost Calculator

    Gas Cost Calculator is used to calculate the total fuel cost of a trip based on the distance, miles per gallon, and the price of gas. Gas Mileage Calculator: Distance: Miles Per Gallon (MPG) Gas Price $ Per Gallon Total Cost: 100 Miles 10 MPG 20 MPG 30 MPG 40 MPG 50 MPG 60 MPG; $2.5/Gallon: $25.00: $12.50: $8.33: $6.25: $5.00: $4.17: $2.55 ...

  10. Fuel Cost Calculator

    Our calculator also uses the amount of fuel and the cost of gas in your area to calculate the total cost of your trip. For this, we use the following formula: Trip cost = Fuel amount × Fuel price. So using the amount of fuel given in the above problem, if the price of gas was $7, then to calculate the amount of money needed for the trip, we ...

  11. Free Gas Cost Calculator

    Road trip gas calculator. Use this calculator to easily see how much a car trip will cost in gas or petrol money. Just enter your distance, fuel price and car milage. Download the free app to be able to: 🌎 Find distances on a map. 🔎 Search and compare cars. 💰 Uses local fuel prices.

  12. Fuel Cost Calculator

    Put the values into the formula and calculate using the amount of fuel within the whole journey. Fuel amount = Distance Fuel Efficiency. Fuel amount = 130 10 = 13 Liters. To calculate the total cost of fuel here we need to multiply the fuel price by the amount of fuel used during the whole journey. Trip Cost = Fuel Amount x Fuel Price.

  13. How to calculate gas cost for road trips

    Get started by entering your vehicle information in your profile. The fuel price is automatically set to the US monthly average. We check the average price weekly and use that along with your MPG and fuel type settings to provide an estimate for your trip. "After 5 days of using three maps and five different apps, I found Roadtrippers.

  14. Gas Calculator

    This gas calculator is a handy tool for every driver who, when planning a trip, asks how much gas will I use? We prepared the gas estimator to help you find out how much fuel you will use on a car trip and how much it will cost you. Our gas cost calculator is versatile and offers more than other web-based fuel cost calculators (e.g., splitting the gas cost).

  15. Gas Calculator

    Integrate Toll API for pre-trip route optimization, on-trip and post-trip toll, and route information. Enter the start point, destination, vehicle type, and payment method. The toll calculator provides a toll breakdown, total toll costs, fuel estimates, and rates for each US toll road, turnpike, express lane, bridge, and tunnel - including cash ...

  16. Simple Fuel Calculator

    This simple fuel calculator shows you the gas or petrol cost for a car road trip - just enter the distance you're traveling, the fuel price and your car's mpg. Download the free app to be able to: 🌎 Find distances on a map. 🔎 Search and compare cars. 💰 Uses local fuel prices. Get the app.

  17. Fuel Cost Calculator

    Our trip fuel cost calculator above can be used with liters, kilometer, miles and gallons. You can use it with the unit imperial gallon defined as 4.54609 liters or with the unit US liquid gallon of 3.785411784 liters, just be consistent when combining MPG with a fuel price in gallons.

  18. Gas Mileage Calculator

    Calculate gas mileage using trip distance: enter total distance and the amount of fuel used for the trip. Price per Gallon or Liter. Enter the fuel price per gallon or per liter and the calculator will calculate: -Fuel Rate - fuel cost per mile or kilometer. -Fuel Total - the total spent on fuel for the trip. Price per Mile or Kilometer.

  19. Multi-Stop Route Planning and Optimization Tools

    Provide up to 26 locations and Route Planner will optimize, based on your preferences, to save you time and gas money. Find the shortest routes between multiple stops and get times and distances for your work or a road trip. Easily enter stops on a map or by uploading a file. Save gas and time on your next trip.

  20. Route planner: route calculation, detailed journey cost

    Calculate your pedestrian, motorcycle, or car journey for free. Take advantage of our multiple calculation options: the fastest route, the most economical route, or the discovery route (which allows you to choose the most picturesque roads). Provide information about your vehicle (brand, consumption, type of fuel, etc.) to obtain personalized ...

  21. Mileage Calculator

    Mileage Calculator. Use the following mileage calculator to determine the travel distance, in terms of miles, and time taken by car to travel between two locations in the United States, disregarding traffic conditions. This mileage calculator estimates the number of driving miles between two locations in the United States.

  22. Fuel Economy

    VW, Bentley, Audi and Porsche MPG Estimates Revised. Clean Cities and Communities. Alternative Fuels Data Center. Vehicle Cost Calculator. Station Locator. EV Explorer. EPA gas mileage, safety, air pollution, and greenhouse gas estimates for new and used cars and trucks. Improve the MPG of your vehicle with our gas mileage tips.