Too bad there isn't some sort of free market based mechanism that would inherently account for all of these factors without you needing to think about it.
There are plenty of market-based methods for accounting for these externalities though, such as Pigovian taxes.