Meaning & use

undefined

adjective·Everyday

Last updated

UK/ˌʌndɪˈfaɪnd/
US/ˌʌndɪˈfaɪnd/

Meanings

  1. adjectivenot comparable

    Not stated clearly or given exact limits, so people are not sure what it includes.

    Grammar: Usually comes before a noun or after verbs like 'remain' and 'leave': the role remains undefined.

    Patterns

    • remain undefined
    • leave something undefined
    • an undefined role

    The contract left the bonus undefined, so nobody knew how much to expect.

    Her duties at the company were still undefined after three months.

    The border between the two areas has long been undefined.

  2. adjectivenot comparabletechnicalmathematicscomputing

    In mathematics and computing, having no assigned value or result.

    Grammar: Used after 'be' in technical statements: the value is undefined.

    Patterns

    • be undefined
    • an undefined value
    • undefined behavior

    Dividing a number by zero gives an undefined result.

    The program crashed because it tried to read an undefined variable.

    In this language, adding a number to a text value is undefined behavior.

Common combinations

remain undefined
The exact date of the launch remains undefined.
undefined behavior
Reading past the end of the array causes undefined behavior.
an undefined variable
The error message says the variable is undefined.
leave something undefined
The treaty left several key terms undefined.
vague and undefined
His plans were vague and undefined.

Synonyms and how they differ

unclear
A general everyday word for something hard to understand; 'undefined' stresses that no limits or details were ever set.
unspecified
Means not named or stated; it fits when details are simply left out, while 'undefined' suggests no clear boundary exists at all.
indeterminate
More formal and often technical, used about things that cannot be settled or measured exactly.
vague
Describes something imprecise by nature; 'undefined' often suggests someone failed to define it.

Opposites

Word family

define verb
To explain the exact meaning of something or set its limits.
definition noun
An explanation of what a word or idea means.
undefinable adjective
Too vague or complex to be described exactly.
definable adjective
Able to be described or limited clearly.

Commonly confused: undefined or indefinite? undefined or undetermined?

undefined vs indefinite

Means lasting for an unknown length of time or not fixed, as in 'an indefinite delay'; 'undefined' is about meaning or value, not time.

undefined vs undetermined

Means not yet decided or found out; 'undefined' means no definition or value has been given.

Practice

The error appeared because the function returned an ______ value when the list was empty.

Make it your own

Write a sentence using “undefined”, then check it and compare it with the examples above.

Your sentence stays on this page and is not sent anywhere.

Explore more words