qaf

ق

The Arabic letter qaf can appear in four different forms: isolated, initial, medial and final.

finalmedialinitialisolated
ـقـقـقـق

When you show the letter on its own, you use the isolated form.

ق

When the letter is the first letter of a word, you use the initial form.

قـ

For example these words:

wheat
qamH
قَمح
worry
qalaq
قَلَق
cage
qafaS
قَفَص

When the letter is not the first and not the last but somewhere in the middle of a word, you use the medial form in most cases.

ـقـ

For example these words:

load
thiql
ثِقل
field
Haql
حَقل
mind
3aql
عَقل

When the letter is the last letter of a word, you use the final form in most cases.

ـق

For example these words:

according to
wifq
وِفق
worry
qalaq
قَلَق
depth
3umq
عُمق

Now you know that:

In most cases...
Let us look at the other cases!

The letter qaf has dual joining, like most Arabic letters. It wants to join with both the letter before it and the letter after it.
But some letters has right joining. They only want to join with the letter before it (which is the letter to the right since Arabic is written from right to left).

When the letter is in the middle of a word, and follows a right joining letter, you use the initial form.

قـ
insolent
waqiH
وَقِح
chin
dhaqn
ذَقن
time
waqt
وَقت

When the letter is the last letter of a word, and follows a right joining letter, you use the isolated form.

ق
longing
shawq
شَوق
difference
farq
فَرق
market
suuq
سُوق

Now you know that:

That's it!
The rules you just learned can be applied to all Arabic letters with dual joining, which is most of them.

Previous letter: fa ف Next letter: kaf ك