Open Command Prompt or any Terminal and typing ping and any website name, i.e., ping google.com. The result will include time as one of the factors, and the average will tell you the ping time. Apart from this, tons of websites can help you with the ping test. It is usually available with websites that offer Speedtest.