Dividing lines up

I regularly want to divide lines / rectangles up into half-width, third-width, etc., but I have no idea how to do it quickly. Any thoughts?