Our circumstances here on the wondrous, life-supporting Earth can give us a false understanding of what the Universe is really like. But our blue-skied, temperate planet is the extreme exception when it comes to other worlds. There's nothing remotely like Earth in our Solar System, and exoplanet studies reinforce that idea. While some exoplanets have hints of habitability, most exoplanets are extremely inhospitable.
Ultra-Short Period (USP) planets are one example of these hostile worlds. USPs follow orbits shorter than one Earth day long, meaning they're very close to their stars. They're so close that their surfaces are molten, and they've likely lost whatever atmospheres they had to their star's intense output. These planets are also imperiled: they can be torn apart by their stars' massive gravitational force, or even spiral into their stars and be totally destroyed.
The numbers are big, so it can be intimidating, but the math isn't too bad. It's a little bit of multiplication and division. The most daunting bit is a cube-root, which you can find on most scientific calculators these days.
It's hunting down the numbers you need to use that's the trick, and making sure they're all in the right units.
The equation for the Roche limit is the most complex math, but that's just something you look up:
Roche Limit = 2.44 x {the radius of the star} x cube-root(( {the mass of the planet} / {the radius of the planet}^3 ) / ( {the mass of the star} / {the radius of the star}^3 ))
All of the things in the braces are also just values you look up.