I am not an expert - take my suggestion with less than a grain of salt.

What make, year, size engine (for what size/make truck)?
Is this a new/unused engine (the procedure below would be slightly different in each case)?

Here is my simple-minded suggestion:

Find out the oil capacity/fill specs for that engine - how much oil it needs for an oil change w/wo oil filter (depending on what your engine has). Ask here, if you cannot find the specs).

Empty the engine-oil (and replace the filter).

Add the specified qts of oil.
Wait a few minutes for the oil to settle.
Start the engine and run it until it warms up.
Stop the engine, and, wait 5 minutes.
Remove dipstick and clean/wipe it.
Put the dipstick back, and then remove it.
Mark the level/location of the oil on the dipstick.

Go-ahead: make fun of me - deride me - feel sorry for me (and my family) if my simple-minded suggestion it ridiculous.