# How do you calculate the energy efficiency of a building?

"energy efficiency"=("useful energy")/("total energy")
For a building, the $\text{total energy}$ is the total amount of energy supplied to the building. The $\text{useful energy}$, is the amount of energy from that which is put in, which is used in a useful manner, or in other words, isn't wasted.