د سوخت د لګښت محاسبه
د سفر د سوخت لګښت د واټن، د موثریت او د سوخت د قیمت څخه کار کوي.
. پایلې اوسمهالول لکه څنګه چې تاسو ليکل
د دې شمېرګر په اړه
you’re using a car, you can use the fuel cost calculator to calculate the cost of fuel for your trip. The fuel cost calculator calculates the cost of fuel for your trip based on the distance you travel, the fuel efficiency of your vehicle, and the price of fuel. The fuel cost calculator calculates the cost of fuel for your trip based on the distance you travel, the fuel efficiency of your vehicle, and the price of fuel. The fuel cost calculator calculates the cost of fuel for your trip based on the distance you travel.Use the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculatorUse the calculator
ډېرې پوښتنې
څنګه د سفر د سوخت لګښت محاسبه کیږي؟
په mpg حالت کې: کارول شوي تیل = فاصله / mpg، بیا لګښت = د تیلو x قیمت په هر ګیلن. په متریک حالت کې: لیټره = فاصله / 100 x (l / 100km)، بیا لګښت = لیټره x قیمت په لیټره.
ايا د چلولو ډول د پایلې بدلون راکوي؟
هو. ریښتینی موثریت د سرعت، ترافیک، بار او ځمکې سره توپیر لري، نو دا د خپل داخل شوي موثریت انځور پر بنسټ د اټکل په توګه درملنه وکړئ.
زه څنګه د mpg او لیټرو ترمنځ د 100 کیلومتره ترمنځ بدلوم؟
د پرمختللو انتخابونو لاندې د واحدونو ترتیب کارول. میلونه او mpg په میلونو کې د واټن او د موثریت په توګه د میلونو په هر ګیلن درملنه کوي؛ کیلومتره او l / 100km په کیلومترو کې د واټن او د موثریت په توګه د لیټرو په توګه د 100 کیلومتره درملنه کوي، د قیمت په لیټر کې لوستل.
زه څنګه د مسافرو ترمنځ د تیلو لګښت ویشلی شم؟
د حساب د ټول سفر د تیلو لګښت په مساوي ډول ویشلي، نو هر مسافر د خپل برخه ګوري - د carpools او شریک سړک سفرونو لپاره ګټور.
څومره سوځیدنه به زما سفر وکاروي؟
د حساب ماشین د سوخت او همدارنګه د لګښت په توګه کارول شوي ښيي. په mpg حالت کې دا د واټن ÷ mpg (ګالونه) دی؛ په متریک حالت کې دا د واټن ÷ 100 × l / 100km (لیتره) دی. د 300-ميل سفر په 30 mpg د 10 ګیلن کاروي.
زه څنګه کولای شم چې د دورې سفر اټکل؟
د دواړو پښو لپاره د ټول واټن داخل کړئ، یا د یو واحد-لارې شکل دوه چنده کړئ. ځکه چې لګښت په مستقیم ډول د واټن سره لوړیږي، د یوې دورې سفر په ساده ډول د ورته موثریت او د تیلو په قیمت کې د یو واحد-لارې سفر دوه ځله لګښت لري.
API - له کوډ څخه دا محاسبه کاروي
د يو وړيا JSON پای ټکي په توګه دا محاسبه ونيسئ - نه د اړتيا وړ. د ساحې ارزښتونه لاندې د پوښتنې پارامترونو یا JSON په توګه واستوئ. د بشپړ API اسناد ولولئ →
پای ټکی
GET https://calculator.free/api/v1/fuel-cost/
curl
curl "https://calculator.free/api/v1/fuel-cost/?distance=300&efficiency=30&price=3.5"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/fuel-cost/?" + new URLSearchParams({
"distance": "300",
"efficiency": "30",
"price": "3.5"
}));
const data = await r.json();
console.log(data.results);
پایلې یوازې د عمومي لارښوونې لپاره اټکل شوي، نه مالي، طبي یا مالیه مشورې.