Is a square mile 1 mile by 1 mile?

Yes but also 2 miles by half a mile 10 miles by 1/10th a mile etc