Katy Perry has been releasing ''anger'' from her failed romance with John Mayer by going spinning.

The 28-year-old star has been hitting the gym hard to get over her recent split from the 35-year-old singer - who she started dating last summer but the pair briefly split before reconciling in the autumn - and has also been spending an hour ''soothing her brain'' at Los Angeles' candlelit Soul Sanctuary spa.

A source told The Sun newspaper: ''Katy believes the workouts have really helped her with releasing anger, stress and tension from the split and the sanctuary has been soothing her brain.

''A few years ago she would have released the energy by hitting the clubs and dancing the night away. But she's getting older now and wants to do things healthily.''

As well as enduring the intense indoor cycling sessions, Katy - who split from Russell Brand in December 2011, just 14 months after they tied the knot - has also been keeping in shape while she tours by riding her bicycle around the cities she is playing ''in disguise'' and surprising fans by giving away free tickets.

She said: ''Constantly travelling can make it hard to exercise, but my favourite workout to do on tour is to ride around the town or city I'm visiting on my bike. I love to explore a new city in disguise and hand out tickets to my show.''

Earlier this month, John - who has dated several stars including Taylor Swift, Jennifer Aniston and Jessica Simpson - confirmed the former couple had split and admitted he is finding it ''tricky'' to hold down a relationship.