It's pretty cheap - €3.80 each way. I tend to prefer getting the faster train to Zuid and a tram from there if I'm not heading to the Centraal Station area specifically.
Unlike at many airports, Schiphol is just another station on the network, where local and inter-city trains stop.