Depending on the purpose of the publication, an eBook can be available free of charge, or to be sold at a price that is appropriate to its size and quality.
Examples can be found at the electronic bookstore of Apple (Apple Books).