what 0.51 of an airplane passenger taught me about life

once upon a time, i was hired to build a carbon accounting platform that helped businesses calculate their environmental impact.

a perfectly normal job for a Product Manager.

except i ended up leading the software from scratch, making decisions across the entire development cycle, working closely with the design and engineering teams on everything from the user interface to the technical implementation, and personally writing the five mathematical equations that powered its calculations.

and mind you, this was way before the whole generative AI boom. it was just me, a mountain of research papers, several spreadsheets, and an increasingly complicated relationship with mathematics.

building software is such a beautiful profession.

you'd be surprised how much mathematics goes into telling someone how environmentally irresponsible their business trip was: fuel consumption, passenger occupancy, cargo weight, seating classes, flight distance, climate impact. all these wonderful little variables that have to agree with each other before you can confidently display a number on someone's screen.

the company behind it eventually raised US$6 million in a funding round led by Fitch Ventures, which was wonderful news. i was very happy for everyone, although at the time i was probably staring at a spreadsheet, wondering why an aircraft had 153.51 seats.

there have been other products, other milestones, and other funding rounds since then. i've learned more, built better things, and made entirely new categories of mistakes.

but you only get to build your first software product once.

mine taught me many valuable lessons about leadership, engineering, and product development.

the mathematics part was particularly ironic, considering i failed math class in high school, twice.

life takes you to strange places.


a disclaimer for my non-technical readers. no, there wasn't literally 0.51 of a person sitting on an airplane.

when calculating flight emissions, mathematical models use things like aircraft seating capacity, average passenger occupancy, and fuel consumption. these calculations can produce decimal values, such as 153.51, because we're working with estimates and averages rather than counting actual people on a particular flight.

the 0.51 was simply a result of the mathematics. no passengers were divided in the making of this software.


the following lecture is free because even i wouldn't pay to hear myself explain this and because knowledge is meant to be shared, so is my trauma from those spreadsheets.

a lecture on short-haul flight emissions

because i refuse to suffer alone, we're doing mathematics.

let's say you're flying economy from Saigon to Danang. one person, one way. we'll use a rounded airport-to-airport distance of 600 kilometres.

in the methodology i worked with, flights under 1,500 kilometres counted as short-haul. we added 95 kilometres to account for detours and holding patterns.

because even a plane occasionally needs to circle the neighbourhood before committing.

our calculation distance becomes:

d = 600 + 95 = 695 km

you might think we just multiply that by a number and go home.

that would have been lovely. i would have had hobbies.

instead, we had this:

E = ((2.714 * d + 1166.52) / (153.51 * 0.82)) * 0.93 * CW * (3.15 * 2 + 0.54) + 0.00038 * d + 11.68

please stay. i can explain.

E is the estimated climate impact per passenger, in kilograms of CO2-equivalent. CW is the cabin-class weighting, which was 0.96 for short-haul economy in this version.

the first part estimates fuel consumption. it includes a fixed amount because taking off, landing, and taxiing use fuel, even when the flight is short.

the plane doesn't hear "it's only Danang" and agree to make less effort.

then we divide by the estimated number of passengers. this model assumed an average of 153.51 seats and 82% occupancy.

the decimal seat is a statistical average. nobody is being assigned half a chair. although i understand why you'd check.

the 0.93 factor allocates the passenger share after allowing for cargo. the cabin weighting adjusts that share for the space occupied by different seating classes.

business gets a higher weighting. you paid for legroom. the equation noticed.

the next part accounts for burning the fuel, producing the fuel, and aviation's additional climate effects. then we add allowances for the aircraft and airport infrastructure.

at this point, the equation has considered more of your travel arrangements than the person you're flying to see.

with d = 695 and CW = 0.96, the calculation is:

E = ((2.714 * 695 + 1166.52) / (153.51 * 0.82)) * 0.93 * 0.96 * (3.15 * 2 + 0.54) + 0.00038 * 695 + 11.68

E = approximately 160 kg CO2e

about 0.16 metric tonnes for one person, one way, under those historical assumptions.

for a return trip with the same assumptions, calculate each flight separately and add them:

160 + 160 = 320 kg CO2e

we don't just double the distance inside the equation. you're taking off and landing twice.

coming home has consequences. mathematically, for once.

thank you for attending. you may now return to booking flights based entirely on ticket prices.