Ping defines as 32/64 bytes data transfers from your side of web connection to remote side of.
Generally, you can think of possiblity of obtaining speed of internet connection
When you pinging, another situations may be in active, such as type of internet connection(adsl, fiber optic etc.)
One other thing we cannot eliminate is the connection distance between two remote server, for instance when pinging to google from estonia or india or anywhere else makes different solution due to distance of google server...
and also your internet sharing from other connections make your connection limit upper so transfer and communication gets slower.
finally, your internet speed verification not only element effecting ping speed actually so that you can not get clear conclusion to test your speed.