Use a battery utility, such as [http://www.coconut-flavour.com/coconutbattery/|coconutBattery] (for Mac) or [http://www.3u.com/|3uTools] (for Windows). Generally speaking, anything less than 70% of design capacity will require replacement but you may see some serious degradation starting at ~80%.
You can also use the Battery Health Diagnostic (Settings\Battery\Battery Health (Beta)) in iOS 11.3 and above. It will tell you what the health of the battery is.
You can also use the Battery Health Diagnostic (Settings\Battery\Battery Health (Beta)) in iOS 11.3 and above. It will tell you what the health of the battery is.