Yes, there is. Usually, the demand and supply functions are represented mathematically, like Qd = a - b(P) for demand and Qs = c + d(P) for supply. Here P stands for price, Qd for quantity demanded and Qs for quantity supplied. 'a', 'b', 'c' and 'd' are constants. Equating these two functions, Qd=Qs and solving for 'P' gives you the equilibrium price. Using this price in either function gives you the equilibrium quantity.