In addition to MikeinBC's answer, you'll have to switch the unit of measure option in the inventory item.
Here are the steps:
Then, manually adjust the inventory by following the steps:
You can also check this article for more details: Adjust inventory quantity or value.
If there's anything else you need, feel free to leave a comment. Thanks.