The study introduces an approach in developing a virtual laboratory that can be used for classroom instruction as well as distance learning and is a good alternative to highly expensive microwave measurement equipment. The software package is written in C++. The testing results of applying a virtual laboratory for radiophysics measurements are considered.