Another consideration: When you bend metal, the outside of the bend stretches and the inside compresses. Usually the outside will deform more than the inside and you have some growth in the overall length. The amount of growth depends upon the radius of the bend and the thickness of the metal. If you have somewhat critical dimensions, as in bending up a box, this needs to be taken into account.
For a simple bent configuration, you can make the bend first and trim to length afterwards. Otherwise you need to calculate the amount of correction needed. There are bend tables to help with that process. Another way would be to take a piece of scrap material of the same thickness and measure its dimensions. Make a trial bend similar to the desired bend and remeasure. You should then be able to calculate corrections for the bends.