2 points;
You really don't need a bitter magnet to get up to 4T, a simple solenoid can do this easily.
If you want to build a bitter magnet to get up to around 10T this can be done with equipment that is fairly commonly available and won't break an average budget.
A 'buzz box' welding unit can supply around 200 amps at 6v and these are low cost as second hand / car-boot sale equipment.
To produce the 'coil'; aluminium and acryllic sheet, available from your local DIY store, a 'junior' hacksaw, tinsnips and a drill / file plus some time and care will produce this.
Plus a large mild steel bolt (don't use high tensile bolts - the high carbon content causes problems). Try to fit the whole inside a CD tower case (the 100 off style) adapted to take water flow - if you feel you need it. Air cooling generally will do for these relatively low field applications
As for the formula, for a home-brew version, the standard solenoid equations will do best. A rough calculation is ;- Field intensity = (amps x turns)/coil area; ignoring coil length effects