You can get from Ercolano to Battipaglia by train, thanks to the 48 daily routes provided by Regionale, Metropolitano, ItaloTreno, Intercity, Frecciargento, Frecciarossa. The train ride from Ercolano to Battipaglia takes about 1 hour on average and the average train ticket is 4.2 €. If you book in advance, you can find the best fares and save 43% on average on your train ticket, with prices starting from 4 €.
Travelling Italy by train can often be cheap.