How much does it cost to get a will done?

Ours is outdated but I was told $1,000 in our financial class. We have that on our homework to do immediately, too. I have also heard about online wills but with children’s guardianship as a concern, wondering if that is wise. Any help appreciated.