The two smartphone apps taking meditation mainstream exude a Zen vibe and trumpet nearly identical missions to increase health and happiness around the world.

But behind the blissful marketing mantras, Headspace and Calm are locked in a head-to-head fight to dominate the booming $1.2 billion meditation market.

“I would say we’re in mindful...