Johankid, check out this link: http://studentaffairs.stanford.edu/gradadmissions/admitted/financing-expenses
Since most MS students take 8-10 units per quarter, your tuition fees for three quarters (Autumn, Winter, Spring, and assuming you are not going to be taking summer courses) would come to $28,560.
Your total living allowance for three quarters would be $26,082, according to the same website. So your total for the first year, assuming you are not getting any financial assistance or funding, would be around $54,642. If you do need financial assistance from the department though (as far as I know), you'd need to complete one quarter before becoming eligible for it (a TAship/RAship).
Hope this helps!