Talk about being in the wrong place at the wrong time.

Melbourne radio host Polly “PJ” Harding has revealed on her KIIS FM breakfast show that she had an orgasm mid-workout at her local gym.

Speaking to her co-host Jase Hawkins, the 27-year-old revealed how the use of an ab roller device caused the awkward incident to happen while exercising with her personal trainer.

“Something happened to me yesterday that has happened to me before, but I thought it was once-off,” she explained to listeners.

“It happened to me at the gym … and it’s something that normally doesn’t happen at the gym.”

“I was working out … and when I worked out, I experienced this (audio of fireworks). It’s so embarrassing to talk about.”

Harding explained that she was using a new machine at her gym when she could feel something “awkward” about to happen in front of her personal trainer.

“So I had to do 15 reps of it. And I was about 10 in and I thought, ‘Oh no, oh no, here we go,’” she said.

“I thought if I do 11 … but I didn’t want to look weak and I didn’t want to stop. So I kept going and then all of a sudden … I had to pretend that nothing had happened.”

“I thought I was going to come out with some abs, but I came out with something completely different.”

According to Debby Herbenick, author and associate professor at Indiana University’s School of Public Health, at least 10 percent of all people — no matter their age, gender or fitness level — experience orgasm while exercising.

Herbenick’s 2015 book “The Coregasm Workout” explained the phenomenon, presenting workouts to help increase the chances of arousal or orgasm during exercise.

Herbenick told Cosmopolitan that women were more likely to have these orgasms from exercises that are demanding of the core abdominal muscles.

“We don’t know the specific muscles that are causing this to happen,” she said.

“What we know is that there are very clear patterns of exercise. This almost never happens on the third or fourth crunch. It happens when you fatigue your muscles doing core exercises.”

“The other thing that makes it more likely to experience arousal and orgasm in some people is to start with at least 20 minutes of cardio and then immediately going into a core workout. In our studies, when people have gone right from the cardio into a challenging core workout, that’s when they are more likely to experience arousal and sustain the arousal.”

Herbenick said an orgasm that happens during sex compared to one that happens during exercise feels slightly different.

“The exercise ones are very bodily,” she said.

“With sex, in the best situation you also have an emotional connection — there’s warmth, intimacy and meaning. And certainly sexual feelings as well.”

“The exercise ones don’t feel very sexual to people. They feel sensual and tingly, but they’re not bonding you to a partner.”