+ Reply to Thread
Results 1 to 5 of 5

How do I reverse this formula to give concentration based on the pH

  1. #1
    Forum Contributor
    Join Date
    01-29-2018
    Location
    United states
    MS-Off Ver
    2019
    Posts
    242

    How do I reverse this formula to give concentration based on the pH

    Hello everyone I have a formula that will tell me the ph of a liquid based on the concentration.

    =-LOG((3)*(1.5*10^-4))
    (the 1.5 is the amount of ingredients)

    The answer of this formula is a pH of 3.346787486 (and YES I NEED ALL THE NUMBERS)

    But How do I change the formula to give me the concentration based on the pH?

    So I need a formula that will reverse this so when I enter the ph of 3.346787486 (((((())))))) = 1.5

    Please help

    Thank you!

    Brad
    Last edited by born2dive00; 11-19-2018 at 01:39 PM.

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,827

    Re: How do I reverse this formula to give concentration based on the pH

    The first step in solving this is to go all the way back to beginning algebra when you first learned about logarithms and remember what logarithms mean: https://www.purplemath.com/modules/l...m#Relationship
    -LOG(number,10)=pH -> multiply both sides by -1 (remember that pH is a base 10 logarithm and that the LOG() function assumes base 10 unless you specify otherwise).
    LOG(number,10)=-pH -> rearrange according to the definition of logarithm and solve for number.

    Is that enough of a nudge, or is there something about logarithms that you are having trouble with?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Contributor
    Join Date
    01-29-2018
    Location
    United states
    MS-Off Ver
    2019
    Posts
    242

    Re: How do I reverse this formula to give concentration based on the pH

    I think I did this correct but can some one check my work please. It is imperative that it be super accurate for some calculations I am doing.

    The formula I came up with is as follows
    =((10^-3.346787486)/3)*10^4
    this will equal 1.5 amount of the ingredients

    Please let me know Thanks
    Brad

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,827

    Re: How do I reverse this formula to give concentration based on the pH

    It looks correct to me. I probably would have stopped with (10^-3.346...)/3 and had the result output as 1.5E-4, but, if your goal is to get just the mantissa only (1.5) of that number, then you would follow by multiplying by 1E4 like you're doing.

  5. #5
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: How do I reverse this formula to give concentration based on the pH

    Quote Originally Posted by born2dive00 View Post
    =-LOG((3)*(1.5*10^-4)) [....] The answer of this formula is a pH of 3.346787486 [....] I need a formula that will reverse this so when I enter the ph of 3.346787486 (((((())))))) = 1.5
    First, if 1.5 is a variable ("amount of the ingredient") and 3 is a constant, I would suggest that you write that:

    =-LOG(1.5 * 3*10^-4)
    or
    =-LOG(1.5 * 3E-4)

    If the latter formula is in A1, then it becomes clear that the inverse function is:

    =10^(-A1)/3E-4

    Second, I would not truncate A1 to 3 decimal places (3.346), because the inverse results in 1.50272234847153 instead of 1.5.

    Properly rounding A1 to 3 decimal places (3.347) results in 1.49926618297763.

    Even rounding to 9 decimal places (3.346787486) results in 1.50000000077593. That might make a difference if you compare with 1.5.

    Using the "exact" value in A1 (3.34678748622466 - 3.55E-15) displays 1.500000000000000.

    Even that exact result is 1.5 - 1.78E-15, which might make a difference when you compare with 1.5 in some contexts.

    Using the displayed value in A1 (3.34678748622466) displays 1.49999999999999.

    With all of these calculations, the final result should be explicitly rounded to the accuracy that you require.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] need a formula to sort data based on certain range and give it a new value
    By cnak in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-17-2017, 01:16 AM
  2. [SOLVED] Formula to give a yes/no answer based on chart
    By Tarontagosh in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-22-2017, 10:49 AM
  3. Formula which give you start position based on input
    By vba1234 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-15-2016, 03:41 PM
  4. [SOLVED] concentration formula calculation
    By mazan2010 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-08-2016, 02:45 PM
  5. [SOLVED] Formula to give yes or no result based on cells data
    By twiztid in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-06-2014, 05:33 AM
  6. Replies: 6
    Last Post: 05-05-2013, 07:17 PM
  7. Formula to calculate value based on reverse percentage
    By aharvestofhealth in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-11-2012, 04:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1