How do you calculate km2?

The simplest (and most commonly used) area calculations are for squares and rectangles. To find the area of a rectangle multiply its height by its width....