A recipe, a parcel label, and a precious-metal listing can all use the word “ounce.” They do not necessarily mean the same unit. Before converting a number, identify what the measurement describes.
The problem: one name, several meanings
The Weight workspace uses the avoirdupois ounce, a unit of mass. It is one sixteenth of an avoirdupois pound and equals exactly 28.349523125 grams. A fluid ounce is a unit of volume. A troy ounce is another unit of mass, with a different size.
These are not interchangeable labels. The abbreviation “fl oz” points to volume; a plain “oz” on a weight label normally points to mass. Read the surrounding label or instructions when the meaning is unclear.
The solution: verify the quantity first
If a portion weighs six avoirdupois ounces, multiply by the gram factor: 6 × 28.349523125 = 170.09713875 grams. That is about 170.10 grams to two decimal places. The result describes mass, regardless of the ingredient.
If a bottle holds six fluid ounces, this workspace cannot turn that volume into grams by itself. You would need the fluid-ounce definition being used and the substance’s density under the relevant conditions. Do not assume that every liquid has the same density as water.
Let the unit do some of the checking
Batchpix explicitly labels its mass units and does not offer fluid or troy ounces. Select Ounces in the Weight workspace only when that definition fits your source. When you copy a conversion, keep the unit next to the number so the result retains its meaning.