Its about 3.50 - 4 € return, cant be exact as I get discounts. (Ex BR)
The way Spanish trains work is you pay for single Journey and if you ask for return you get discount on the return part.
(If over 65 you can buy a Railcard and get good discounts on peak travel)
Journey takes half hour, Last train back is about 9pm