Broadway isn’t the only place to give “Hamilton” a spin.

The show’s hip-hop, rap and R&B songs are fueling city workouts.

On Friday at 5 p.m., riders can work out to the infectious rap and R&B rhythms Hamilton: A Hip-Hop Musical Ride at Soul Cycle on W. 77th St.

Like Lin-Manuel Miranda’s hit musical, the class is sold out.

“I love ‘Hamilton.’ I love spinning,” says theater press agent Molly Barnett, 30. “My birthday’s on Friday. What better way to spend it.”

Seats at $34 a pop became available on Monday at noon. “I set my alarm to reserve my spot and all the available bikes disappeared in seconds.”