Varahamihira is one of the nine jewels of the court of legendary king Vikramaditya. His main work is Pancha Siddhantika. This is a treatise on the Five Astronomical Canons dated 575 CE. This composition is based on mathematical astronomy. It summarises five earlier astronomical treatises: Surya Siddhanta, Romaka Siddhanta, Paulisa Siddhanta, Vasishtha Siddhanta and Paitamaha Siddhantas. It is a collection of Vedanga Jyotisha as well as Hellenistic astronomy.

His other most important contribution is the encyclopaedic Brihat-Samhita.He made important donations. He wrote on three main branches of Jyotisha astrology:
Brihat Jataka, Daivaigya Vallabha, Laghu Jataka, Yoga Yatra and Vivaha Patal.

The two western compositions that influenced Varahamihira were Romaka Siddhanta and the Paulisa Siddhanta.

There are some important trigonometric results attributed to Varahamihira:

\sin^2 x + \cos^2 x = 1 \;\!

\sin x = \cos\left(\frac{\pi} {2} - x \right)

\frac {1 - \cos 2x}{2} = \sin^2x

He used large variety of meters is evident in his Brihat Jataka and Brihat-Samhita. He died in the year 587. He had thorough knowledge of Western astronomy. His monumental work progresses through native Indian astronomy. This culminates in two treatises on Western astronomy that shows calculations based on Greek and Alexandrian arithmetic. It also gives complete Ptolemaic mathematical charts and tables.

His compositions give a complete picture of 6th century India. He continually emphasized the importance of astrology and wrote many theses on omens, great birth and the short birth two well-known works on the casting of horoscopes.