Hi All, I can normally find answers to my questions but seem to be stumped on this so I need to put this to the Pros! Ok so in Excel I have this formula ="ROUND(10*LOG10(10^((C6-26)/10)". In C# I have something like this: sum = 10 * (Mathf.Log10(DB1-26)/10) My question is how do I do a Mathf.Log10(10); in a sum? I get an error if I do sum = 10 * (Mathf.Log10(10(DB1-26)/10)) or sum = 10 * (Mathf.Log10(10)(DB1-26)/10) Background on the app: Sound spectrum, 63hz, 125hz, 250hz, etc upto 8K. User inputs their dB details in the input fields (DB1, DB2, DB3 etc) Result I need is dB(A) at a distance (meters) the user inputs into another input field. Many Thanks Tony.