Bail laws vary somewhat from state to state, as is typical of U.S. jurisprudence. Generally, a person charged with a non-capital crime is presumptively entitled to be granted bail. Recently, some states have enacted statutes modelled on federal law that permit pretrial detention of persons charged with serious violent offenses, if it can be demonstrated that the defendant is a flight risk or a danger to the community.
Some states have very strict guidelines for judges to follow; these are usually provided in the form of a published bail schedule. These schedules list every single crime defined by state law and prescribe a presumptive dollar value of bail for each one. Judges who wish to depart from the schedule must state specific reasons on the record for doing so. Some states go so far as to require certain forfeitures, bail, and fines for certain crimes.