The fractional concentrations can be calculated as below when given either the pH (which can be converted to the [H+]) or the concentrations of the acid with all its conjugate bases:
ðə fɹˈækʃənəl kˌɑːnsəntɹˈeɪʃənz kæn biː kˈælkjʊlˌeɪɾᵻd æz bᵻlˌoʊ wɛn ɡˈɪvən ˈiːðɚ ðə pˈiː ˈeɪtʃ wˌɪtʃ kæn biː kənvˈɜːɾᵻd tə ðə ˈeɪtʃ plˈʌs ɔːɹ ðə kˌɑːnsəntɹˈeɪʃənz ʌvðɪ ˈæsɪd wɪð ˈɔːl ɪts kˈɑːndʒuːɡˌeɪt bˈeɪsᵻz: