The Superhero Database Classification number, or SHDB Class, is a number that represents the overall 'power' of a character. All traits of a character are used for calculating the Classification.
What it DOESN'T mean
This doesn't mean that a higher class would always beat a lower class character. But the bigger the difference in Class is, the more obvious it is who'll win in a fight.
How is this calculated
( INT^1.3 + (STR*0.5 )^2 + (SPE*0.5)^2 + DUR^1.6 + (POW + (SPS*SPL))^2 + COM^1.8 ) ^ TIER
Super Power Score and Level
Every Super Power has a score (SPS) that is used to calculate the Class. Each Super Power also has 3 levels (SPL). The level is set when connecting that Super Power to a character. The level determines the final score, of the Super Power, being used in the calculation.
Infinite Zamasu from Dragon Ball Super manga is the final incarnation of Zamasu, a fallen Kaioshin who fused with Goku Black, an alternate version of Goku. He is a powerful being who can manipulate time, space, and reality, and who seeks to destroy all mortals and gods in the multiverse. He is immortal, regenerative, and adaptive, and can create clones of himself or merge with the fabric of existence.
Sauron from Lord of the Rings is the second Dark Lord and the maker of the One Ring. He is a Maia, a lesser angelic spirit who served the first Dark Lord Morgoth in the First Age. He is a master of deception, sorcery, and warfare, and he seeks to dominate all of Middle-earth with his armies of orcs, trolls, and men. He is not immortal, but he can change his shape and survive the destruction of his physical body as long as his Ring exists.
In a fight between these two villains, I think Infinite Zamasu would have a clear advantage over Sauron. Infinite Zamasu is far more powerful than Sauron in terms of raw strength, speed, durability, and energy projection. He can also travel across dimensions and timelines, something that Sauron cannot do. Sauron’s main weapon, the One Ring, would not work on Infinite Zamasu, as he is immune to corruption and manipulation. Infinite Zamasu could easily destroy the Ring with his ki blasts or his sword. Sauron’s only chance would be to use his cunning and trickery to deceive or distract Infinite Zamasu, but that would not be enough to defeat him. Infinite Zamasu is too arrogant and confident in his own justice to fall for Sauron’s lies or schemes. He would eventually find and annihilate Sauron with his overwhelming power.