Anyone have the current damage formula?

See title. I’m looking for the formula that relates ATK damage versus DEF to make raw damage. I couldn’t find it anywhere, so does anyone have it?

Raw is ATK^2/ (attackers ATK + defenders DEF)