Mila Kunis has a dirty sense of humor.

Having previously starred in “Ted,” the teddy bear comedy that gleefully eviscerated nearly every sacred cow, Kunis is back in the raunch with her new movie, “Bad Moms.” The upcoming comedy is kind of a “Hangover” for the carpool set, centering on a group of women who ditch the PTA in favor of tequila shots and whip-its.

“There’s obviously some part of me that responds to R-rated comedies,” Kunis said Tuesday at CinemaCon, the exhibition trade show unfolding this week in Las Vegas. “I find dick and fart jokes funny.”

STX Entertainment, the studio behind the film, premiered footage of “Bad Moms” stars Kunis, Kristen Bell and Kathryn Hahn rebelling against parenting conventions. The very foul-mouthed trailer has Kunis making fun of her matronly choices in bras, Hahn sexually harassing a dweeby parent, and Bell getting coached on fellatio with uncircumcised men. Christina Applegate plays their nemesis, a fascistic perfect mom obsessed with rooting out parents who use butter, sugar or gluten in the brownies and cookies they bring to the bake sale.

The script resonated with Kunis, because she is the parent of a one-and-half-year-old daughter with actor Ashton Kutcher. Kunis told exhibitors that she marveled at how her daughter had “no concept of death,” saying that if she were on the cavernous stage at Caesars Palace where the footage was shown, she’d walk off the ledge.

“I don’t really understand how [kids] are all alive,” she said.

Hahn, who has a 6-year-old and an 8-year-old, quipped that he children were out playing craps.

“They got to earn their keep,” she said. “Bring it home kids.”

If R-rated comedy was familiar terrain for Kunis, it represents a departure for Jada Pinkett Smith, who plays Applegate’s ally. Best known for her work as a steely warrior in the “Matrix” movies, Pinkett Smith said that with her kids nearly grown, she welcomed the change of pace.

“I’m ready to be outrageous and a little filthy,” she said.

“Bad Moms” hits theaters on July 29.