If you have the amount only in USD and price of a crypto in USD, you can determine the amount of crypto with this formula:

For instance, if you want to buy $100 worth of BTC, and the current price of BTC is $9250, you can determine how much BTC is $100 worth: