Fixed-price quote = hours × rate + expenses + a buffer for revisions and surprises. Never quote the bare minimum.
Rule of thumb: take your honest estimate, then add the buffer. Projects almost never take less time than you think. Don't know your rate? Use the hourly rate calculator.