Here's how to approach the diagnosis:
1. Visual Inspection:
* Fluid Level: Check the brake fluid reservoir. Low fluid level *could* indicate a leak in the master cylinder, but it could also be from other sources (worn brake pads, leaking wheel cylinders, etc.). A very low level is a serious issue and needs immediate attention.
* Leaks: Carefully examine the master cylinder itself for any signs of fluid leaks. Look for wetness, discoloration, or fluid dripping around the cylinder, its mounting bolts, or the connecting lines.
* Corrosion: Check for excessive rust or corrosion on the master cylinder. This can weaken the cylinder and lead to failure.
* Damage: Inspect the cylinder for any physical damage, such as dents or cracks.
2. Functional Tests (More Involved):
* Brake Pedal Feel: This is a crucial test. Pump the brake pedal several times. A spongy or soft pedal suggests air in the system or a failing master cylinder (internal seal leak). A pedal that goes almost to the floor is a serious problem and indicates a major leak or failure. A firm, consistent pedal is a good sign.
* Brake Fluid Leak Test: With the engine off, slowly pump the brake pedal several times and hold it down. While holding the pedal depressed, carefully examine the master cylinder and surrounding areas for any signs of fluid leakage. If you see leakage, that strongly suggests a problem with the master cylinder.
* Bleeding the Brakes: If you suspect air in the system, bleed the brakes. Proper bleeding can sometimes resolve a spongy pedal *if* the problem isn't the master cylinder itself. If the spongy pedal persists after bleeding, it's a strong indication of a master cylinder problem. (This requires a helper and brake bleeding tools.)
* Pressure Test (Advanced): A professional mechanic can use a pressure tester to directly measure the pressure in the brake system. This can help pinpoint leaks and confirm master cylinder failure.
Interpreting the Results:
* Fluid leak + soft pedal: This is a strong indication of a bad master cylinder.
* Fluid leak, but firm pedal: While there's a leak, the master cylinder might still have enough internal pressure to hold a firm pedal, but replacement is still necessary.
* Low fluid but no leak and firm pedal: The leak is likely somewhere else in the braking system.
* Spongy pedal after bleeding: This points towards the master cylinder or a significant leak in another part of the brake system.
Important Considerations:
* Professional Help: If you're not experienced with brake systems, it's strongly recommended to have a qualified mechanic diagnose and repair the issue.
* Safety First: Never drive a vehicle with questionable brakes.
* Brake Fluid is Corrosive: Wear eye protection and gloves when working with brake fluid.
If you find evidence of a leak or have a spongy brake pedal, do not drive the car until it is repaired. Brake failure can have fatal consequences. Get it checked out by a professional as soon as possible.