I would start at the master cylinder, it could be a caliper but they usually don't just go bad. If it is soft and you pump it and it gets harder then that would make me lean towards the master.