Miley Cyrus is magic! At least when it comes to TV ratings and magazine sales.

The singer's guest spot as Missi on the hit sitcom 'Two and a Half Men' helped the show post its best ratings since moving to the Thursday time slot, according to a post on the singer's site. It also marked Cyrus' first appearance on a sitcom since her own 'Hannah Montana' ended four years ago.

It seems like Miley has boosting mojo in multiple media. 'Chelsea Lately' posted its highest ratings of the season when Cyrus was the guest, while Marie Claire revealed its biggest-selling issue EVER was the recent September 2012 cover which featured -- you guessed it -- Cyrus on the cover in a high fashion spread.

You hear that, TV bookers and magazine editors? Feature Miley in or on your outlet and the result is ratings and sales gold.

MTV pulled all the most hilarious lines from Cyrus' appearance. Our favorite? The fact that she was willing to go topless right in front of Ashton Kutcher's Walden. Her uninhibited character said, "Do you mind if I pop the girls out? You know, get a little color on Kim and Khloé."

Price to the less! Cyrus is slated to appear on another episode of the show this season. We can't wait!

Watch Miley Cyrus on 'Two and a Half Men'