This paper describes an environment for mechanics learning by designing situations from formulas. In learning of mechanics of high school, students are usually required to derive mechanics formulas from mechanics situations. However, to derive the situations from the formulas is also important practice in order to realize deeper understanding of mechanics. In this paper, firstly, we have confirmed that students who can derive formulas from situations are not always able to derive situations from formulas through an experiment. Then, the design and implementation of an environment for mechanics learning by designing situations from formulas are explained. In the system, a student is required to design a situation from a formula, and then, derive another formula from the situation. The system diagnoses the derived formulas and situations, and gives the student the results of the diagnosis to assist error corrections. Experimental evaluation of this system is described, too.