Computing Footprint...
▸ Measuring haversine distances
▸ Applying DEFRA emission factors
▸ Generating smart insights
▸ Rendering dashboard
🌍 Carbon Footprint Tracker

Know where your
food travels
to reach you.

Every ingredient on your plate has journeyed thousands of kilometres. Track the real environmental cost — from farm to fork.

342+Foods tracked
4Transport modes
500+Cities supported
✈️
Avocado from Mexico
Air freight · 13,500 km to Mumbai
2.44 kg CO₂
🚢
Coffee from Brazil
Sea freight · 11,200 km to Mumbai
0.09 kg CO₂
🚛
Rice from Central India
Road · 580 km to Mumbai
0.006 kg CO₂
Discover

What Are Food Miles?

Understanding the hidden cost of your plate

🗺️
Food Miles Explained
Food miles refer to the total distance food travels from where it is grown to where it is consumed. Coined by Professor Tim Lang in the 1990s, the concept highlights the hidden carbon cost in our food system.
📌 An avocado from Mexico travels ~13,500 km to Mumbai
🌡️
Why It Matters
Global food transport contributes approximately 6% of all greenhouse gas emissions. CO₂ and other greenhouse gases trap heat in Earth's atmosphere, accelerating climate change — rising sea levels, extreme weather events, and biodiversity loss.
🌿 Food system = ~26% of global CO₂ emissions
Transport & CO₂ Impact
Not all transport is equal. Air freight emits up to 75× more CO₂ per tonne-km than sea shipping. Choosing local and sea-shipped produce dramatically cuts your footprint.
✈️ Air freight: 0.602 kg CO₂ per tonne·km

Your Food's Journey

From farm to fork — every step carries a carbon cost

🌾
Farm
Grown at origin country
📦
Packaging
Cleaned & packed for export
Port / Depot
Loaded onto transport vessel
🚢
Transport
Sea · Air · Road · Rail
🏪
Market
Warehousing & retail
🍽️
Your Plate
Carbon cost fully travelled
🥗
Browse Foods
Explore 342+ ingredients with transport & origin details
🔢
Calculator
Build your meal and calculate its carbon footprint
📊
Charts & Data
Compare emissions across foods and transport modes
📚
Learn & FAQ
Understand the science and formulas behind the data
🌱
Eco Tips
Practical ways to reduce your food miles today

📋 Project Information

Academic submission details for this project

🌿
🌍 FOOD MILE CALCULATOR
Division
D
Batch
B
👥 Team Members
YP
Yash Phegade
Roll No. 34
SM
Shubham Maurya
Roll No. 24
SK
Sreeyans Kurup
Roll No. 25
RM
Rupesh Mahale
Roll No. 27
🌐 Aligned Sustainable Development Goals (UN SDGs)
🏭
SDG 12
Responsible Consumption & Production
Empowers users to make mindful food choices by tracking the carbon cost of every ingredient — from farm to fork.
🌍
SDG 13
Climate Action
Raises awareness of CO₂ emissions from food transport and helps individuals reduce their personal climate impact.

Browse & Select Foods

Pick ingredients visually — then add them to the calculator

🔍

📋 Meal History

Your saved calculations — track your carbon journey over time

📅
0
Meals saved
💨
0.00
kg CO₂ total
📊
0.00
kg CO₂ average
🌿
Best score
📭
No meals saved yet
Calculate a meal and it will appear here automatically

Meal Calculator

Add ingredients, choose your city, see your carbon footprint

COMPUTING FOOTPRINT...
🛣️
0
kilometres total
Distance travelled Food Miles Food miles = total distance your ingredients travelled from farm to your plate, calculated using the Haversine great-circle formula.
💨
0.00
kg CO₂ equivalent
Carbon emissions CO₂ Equivalent CO₂ equivalent (CO₂e) measures the global warming impact of greenhouse gases. Higher values = more climate impact from your meal.
🌾
0
ingredients tracked
Meal composition
🗺️ Transportation routes
Air
Sea
Road
Rail
🌿 Greener Indian Alternatives — swap these to cut your footprint
Carbon impact meter 0.00 kg CO₂
🌿 Low⚡ Moderate🔥 High
CO₂ by transport mode
Add ingredients to see breakdown

Environmental Impact

What does your meal's CO₂ actually mean in real-world terms?

🚗
km driven in a petrol car
🌳
trees doing photosynthesis for 1 month to absorb this CO₂
🍵
cups of tea boiled on an electric kettle

Emissions Comparison

Local vs imported food — transport mode matters enormously

CO₂ kg per 1 kg of food · All calculated to Mumbai using DEFRA emission factors · Green = local/road · Teal = sea · Orange = air freight

How It Works

The science and formulas behind the calculator

🔢 The Haversine Formula — Explained
The Haversine formula calculates the shortest distance between two points on a sphere using latitude/longitude coordinates — the great-circle distance.
φ₁, φ₂ = lat1, lat2 in radians
λ₁, λ₂ = lng1, lng2 in radians

Δφ = φ₂ − φ₁   Δλ = λ₂ − λ₁

a = sin²(Δφ/2) + cos(φ₁)·cos(φ₂)·sin²(Δλ/2)
c = 2·atan2(√a, √(1−a))
d = R · c   where R = 6,371 km
CO₂ (kg) = d (km) × weight (kg) ÷ 1,000 × emission_factor
📊 Emission Factors (per tonne·km)
ModeCO₂ FactorRelativeBest Use
🚢 Sea0.008Bulk, non-perishable
🚆 Rail0.028 3.5×Land routes, Europe
🚛 Road0.096 12×Short–medium haul
✈️ Air0.602 75×Perishables, fast delivery

Frequently Asked Questions

Everything you need to know about food miles & carbon tracking

Food miles refer to the distance food travels from where it is grown or produced to where it is consumed. Coined by Professor Tim Lang in the 1990s to highlight the hidden environmental costs in our food system.

✈️ Air
0.602 kg CO₂ per tonne·km
🚛 Road
0.096 kg CO₂ per tonne·km
🚢 Sea
0.008 kg CO₂ per tonne·km
🚆 Rail
0.028 kg CO₂ per tonne·km

The EcoMiles calculator estimates the carbon footprint of each ingredient using three inputs: the origin of the food, your destination city, and the transport mode.

Two formulas power every result: the Haversine formula for great-circle distance, and the DEFRA emissions formula (CO₂ = distance × weight ÷ 1000 × carbon factor).

CO₂ and other greenhouse gases trap heat in the Earth's atmosphere, driving global warming. The single biggest lever: avoid air-freighted food, which emits up to 75× more CO₂ per tonne-km than sea freight.

Eco-Friendly Tips

Simple swaps and habits to shrink your food miles footprint

🏪
Buy Local
Choose produce grown within your region. Locally sourced food travels a fraction of the distance, dramatically reducing transport emissions.
💡 Indian local produce: Rice, Lentils, Mangoes, Coconuts, Tomatoes
🌱
Eat Seasonally
Out-of-season produce is often flown in from distant climates. Seasonal foods are naturally available nearby, requiring far less transportation.
💡 Summer: Mangoes, Watermelon · Winter: Carrots, Spinach, Guava
🚢
Choose Sea Over Air
When imports are necessary, sea-shipped products carry up to 75× less carbon than air-freighted equivalents.
💡 Sea-shipped coffee ≈ 0.09 kg CO₂ vs. 5+ kg by air
🌿
Plant-Based Swaps
Plant-based foods generally have a much lower carbon footprint. Swapping imported salmon for local lentils can cut emissions by over 90%.
💡 Replace imported quinoa → Rajgira (Amaranth), grown locally
📦
Reduce Food Waste
Every tonne of food wasted also wastes all the carbon emitted during its transport. Plan meals carefully and buy only what you need.
💡 India wastes ~67 million tonnes of food annually
🔄
Smart Substitutions
Many exotic superfoods have nutritional equivalents grown locally. Replace imported blueberries with Jamun, quinoa with Rajgira.
💡 Jamun = same antioxidants as blueberries, grown in India
🌿
EcoBot Assistant
● Online
👋 Hi! I'm EcoBot. Ask me anything about food miles, CO₂, or the calculator!
SUGGESTED QUESTIONS