Using the cosmological method, the Pantheon dataset is used to determine hubble constant as well as corresponding matter density parameter. The models used were: The results obtained were: