The boundingbox plugin is good for that, or measuring any irregular shaped object