Several finite element formulations of three dimensional magnetostatic fields are reviewed in the paper. Both nodal and edge elements are considered. The aim is to suggest remedies to some shortcomings of widely used methods. Various formulations are compared based on results for Problem No. 13 of the TEAM Workshops, a nonlinear magnetostatic problem involving thin iron plates.