Picture of rectangles

Rectangles are considered different if they vary in size or have different locations.

How many different rectangles can be drawn on a chessboard?

How many of the rectangles are squares?

What happens on an n by n board?