He was born at Livorno.
At the age of twenty-five he entered a commercial career, spending all his leisure time in study; but his natural tendency toward science and an active religious life soon caused him to abandon the pursuit of wealth.