I checked that for the Ariane 5, with numbers taken from
its wikipedia page: The ES-version can carry 21 tons of payload to a low Earth orbit (LEO).
The first stage has 170 tons of fuel (133 liquid oxygen, 26 liquid hydrogen). I didn't find a value for the second stage (same fuel), but based on the performance of the first and second stage this should be about ~12 tons. I'll neglect this, to get an upper estimate on the efficiency.
The Ariane uses two boosters, based on their performance and the total mass given in the text they have ~250-300 tons of solid fuel each. I'll use 250 tons each here.
What is the energy density of the fuel? For hydrogen, it is about 140MJ/kg (hydrogen only). For the solid boosters, it is limited by the kinetic energy of the exhaust (as fuel and reaction mass are the same for chemical rockets), 3.6MJ/kg.
Therefore, we have 3640 GJ in LH2/LOX and at least 1800 GJ in the boosters.
Combined, this gives a minimum of 5400GJ chemical energy.
Stuff in LEO has a kinetic energy of ~33MJ/kg, multiplied with the cargo capacity this gives 700GJ, or an efficiency of about 13%. Note that this assumes perfect boosters, which would include exhaust at room temperature. If those have a performance comparable to the liquid fuel, the efficiency drops below 10%.Not bad, but rockets are always at the current limit of technology, which makes them very expensive. And motors on a track would reach efficiencies above 50%.